Esensi\Model\Observers\HashingModelObserver::performHashing PHP Method

performHashing() protected method

Check if hashing is enabled and then hash the attributes that need hashing.
protected performHashing ( Esensi\Model\Contracts\HashingModelInterface $model, string $event )
$model Esensi\Model\Contracts\HashingModelInterface
$event string name
    protected function performHashing(HashingModelInterface $model, $event)
    {
        if ($model->getHashing()) {
            $model->hashAttributes();
        }
    }