Returns whether or not the model will hash
attributes before saving.
public getHashing ( ) : boolean | ||
return | boolean |
/** * Check if hashing is enabled and then hash the attributes * that need hashing. * * @param Esensi\Model\Contracts\HashingModelInterface $model * @param string $event name */ protected function performHashing(HashingModelInterface $model, $event) { if ($model->getHashing()) { $model->hashAttributes(); } }