protected function performHashing(HashingModelInterface $model, $event) { if ($model->getHashing()) { $model->hashAttributes(); } }