Method | Description | |
---|---|---|
creating ( Esensi\Model\Contracts\HashingModelInterface $model ) | Register an event listener for the creating event. | |
updating ( Esensi\Model\Contracts\HashingModelInterface $model ) | Register an event listener for the updating event. |
Method | Description | |
---|---|---|
performHashing ( Esensi\Model\Contracts\HashingModelInterface $model, string $event ) | Check if hashing is enabled and then hash the attributes that need hashing. |
public creating ( Esensi\Model\Contracts\HashingModelInterface $model ) | ||
$model | Esensi\Model\Contracts\HashingModelInterface |
protected performHashing ( Esensi\Model\Contracts\HashingModelInterface $model, string $event ) | ||
$model | Esensi\Model\Contracts\HashingModelInterface | |
$event | string | name |
public updating ( Esensi\Model\Contracts\HashingModelInterface $model ) | ||
$model | Esensi\Model\Contracts\HashingModelInterface |