コード例 #1
0
 public function remove(AreaRequest $item)
 {
     $this->transaction->requestTransaction();
     try {
         if (!$item->remove($this->conn)) {
             throw new ModelException('Cannot remove the specified area request.');
         }
     } catch (Exception $exception) {
         $this->transaction->requestRollback();
         throw $exception;
     }
 }