/** * @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; } }
/** @return void */ protected final function rollback() { $this->transaction->rollback(); }