src/Controllers/CrudController.php
protected function beforeSaveEntity(Request $request, \Illuminate\Database\Eloquent\Model $entity, $isNew = false)
    {

    }
protected function beforeSaveEntity(Request $request, \Illuminate\Database\Eloquent\Model $entity, $isNew = false)
    {

    }
Called before saveEntity
@param Request $request
@param \Illuminate\Database\Eloquent\Model $entity
@param bool $isNew