GraphAware\Neo4j\Client\HttpDriver\Transaction::rollback PHP Method

rollback() public method

public rollback ( )
    public function rollback()
    {
        $this->assertNotClosed();
        $this->assertStarted();
        $this->session->rollbackTransaction($this->transactionId);
        $this->closed = true;
        $this->state = self::ROLLED_BACK;
        $this->session->transaction = null;
    }