EncryptedFieldTrait::setEncryptionKey
Sets an encryption key that will override the default key defined in the ENCRYPT_AT_REST_KEY constant.
Signature
public function setEncryptionKey(Key|null
$encryption_key )
Parameters
$encryption_key
— object