Méthode |
Description |
|
addHashable ( string $attribute ) |
Add an attribute to the hashable array. |
|
checkHash ( string $value, string $hash ) : boolean |
Return whether a plain value matches a hashed value. |
|
getHashable ( ) : array |
Get the hashable attributes. |
|
getHasher ( ) : Illuminate\Contracts\Hashing\Hasher |
Set the Hasher to use for hashing. |
|
getHashing ( ) : boolean |
Returns whether or not the model will hash
attributes before saving. |
|
hash ( string $value ) : string |
Return a hashed string for the value. |
|
hashAttributes ( ) |
Hash attributes that should be hashed. |
|
isHashable ( string $attribute ) : boolean |
Returns whether the attribute is hashable. |
|
isHashed ( string $attribute ) : boolean |
Returns whether the attribute is hashed. |
|
mergeHashable ( array $attributes ) |
Merge an array of attributes with the hashable array. |
|
removeHashable ( string $attribute ) |
Remove an attribute from the hashable array. |
|
saveWithHashing ( ) : boolean |
Save with hashing even if hashing is disabled. |
|
saveWithoutHashing ( ) : boolean |
Save without hashing even if hashing is enabled. |
|
setHashable ( array $attributes ) |
Set the hashable attributes. |
|
setHasher ( Illuminate\Contracts\Hashing\Hasher $hasher ) |
Set the Hasher to use for hashing. |
|
setHashing ( $value ) |
Set whether or not the model will hash attributes
before saving. |
|