Method |
Description |
|
addEncryptable ( string $attribute ) |
Add an attribute to the encryptable array. |
|
decrypt ( string $value ) : string |
Return a decrypted string for the value. |
|
encrypt ( string $value ) : string |
Return an encrypted string for the value. |
|
encryptAttributes ( ) |
Encrypt attributes that should be encrypted. |
|
getEncryptable ( ) : array |
Get the encryptable attributes. |
|
getEncrypter ( ) : Illuminate\Encryption\Encrypter |
Set the Encrypter to use for encryption. |
|
getEncrypting ( ) : boolean |
Returns whether or not the model will encrypt
attributes when setting and decrypt when getting. |
|
isDecrypted ( string $attribute ) : boolean |
Returns whether the attribute is decrypted. |
|
isEncryptable ( string $attribute ) : boolean |
Returns whether the attribute is encryptable. |
|
isEncrypted ( string $attribute ) : boolean |
Returns whether the attribute is encrypted. |
|
mergeEncryptable ( array $attributes ) |
Merge an array of attributes with the encryptable array. |
|
removeEncryptable ( string $attribute ) |
Remove an attribute from the encryptable array. |
|
setEncryptable ( array $attributes ) |
Set the encryptable attributes. |
|
setEncrypter ( Illuminate\Encryption\Encrypter $encrypter ) |
Set the Encrypter to use for encryption. |
|
setEncrypting ( $value ) |
Set whether or not the model will encrypt attributes
when setting and decrypt when getting. |
|