Jackalope\Transaction\UserTransaction::rollback PHP Method

rollback() public method

TODO: Make sure RollbackException and AccessDeniedException are thrown by the transport if corresponding problems occur
public rollback ( )
    public function rollback()
    {
        if (!$this->inTransaction) {
            throw new LogicException("No transaction to rollback.");
        }
        $this->objectManager->rollbackTransaction();
        $this->inTransaction = false;
    }