Method |
Description |
|
addPurgeable ( string $attribute ) |
Add an attribute to the purgeable array. |
|
getPurgeable ( ) : array |
Get the purgeable attributes. |
|
getPurging ( ) : boolean |
Returns whether or not the model will purge
attributes before saving. |
|
isPurgeable ( string $attribute ) : boolean |
Returns whether the attribute is purgeable. |
|
mergePurgeable ( array $attributes ) |
Merge an array of attributes with the purgeable array. |
|
purgeAttributes ( ) |
Unset attributes that should be purged. |
|
removePurgeable ( string $attribute ) |
Remove an attribute from the purgeable array. |
|
saveWithPurging ( ) : boolean |
Save with purging even if purging is disabled. |
|
saveWithoutPurging ( ) : boolean |
Save without purging even if purging is enabled. |
|
setPurgeable ( array $attributes ) |
Set the purgeable attributes. |
|
setPurging ( $value ) |
Set whether or not the model will purge attributes
before saving. |
|