Beispiel #1
0
 /**
  * @param  \Closure $callback
  * @return mixed
  */
 protected final function transaction(\Closure $callback)
 {
     try {
         return $this->transaction->transaction($callback);
     } catch (\Exception $e) {
         $this->handleException($e);
         throw $e;
     }
 }
Beispiel #2
0
 /** @return void */
 protected final function rollback()
 {
     $this->transaction->rollback();
 }