Jackalope\Transaction\UserTransaction::commit PHP Method

commit() public method

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