public function preUpdate($object) { // Parent hook parent::preUpdate($object); // Dispatch hooks if ($this->subject_wf instanceof WorkflowInstance) { $this->subject_wf->preUpdate(); } }
public function preUpdate($object) { parent::preUpdate($object); $this->updateUser($object); }