public function delete() { $this->message()->delete(); parent::delete(); }
public function saveChanges($validate = false, $processAll = false, $failFirst = false) { EventManager::trigger(Events::RANGE_SAVE_CHANGES_START); parent::saveChanges($validate, $processAll, $failFirst); EventManager::trigger(Events::RANGE_SAVE_CHANGES_END); }
public function saveChanges() { EventManager::trigger(Events::RANGE_SAVE_CHANGES_START); parent::saveChanges(); EventManager::trigger(Events::RANGE_SAVE_CHANGES_END); }