/** * Delete the model. * * @return bool */ public function delete() { if ($this->deleting() === false) { return false; } $this->_dal->delete(); $this->_exist = false; $cache = self::cache(); $cache->forget($this->getId()); if ($this->deleted() === false) { return false; } return true; }