Example #1
0
 protected function _postSave($success, $exists)
 {
     // @codeCoverageIgnoreStart
     if (!$success) {
         throw new PhalconModel\Exception($this->getStringMessages());
     }
     // @codeCoverageIgnoreEnd
     return parent::_postSave($success, $exists);
 }