creadoPorHook = 'insert'; } protected function beforeUpdate(): void { $this->creadoPorHook = 'update'; } }