public function beforeUpdate() { if (empty($this->config['beforeUpdate'])) { return false; } return $this->config['beforeUpdate']; }