public function commitTransaction($transactionId, $query = null, array $parameters = array(), $conn = null, $queryMode = self::WRITE_QUERY)
    {
        $response = $this->invoke('neo.commit_transaction', $conn)
          ->setArguments($transactionId, $query, $parameters, $this->resultDataContent, $queryMode)
          ->execute();

        return $this->handleHttpResponse($response);
    }
public function commitTransaction($transactionId, $query = null, array $parameters = array(), $conn = null, $queryMode = self::WRITE_QUERY)
    {
        $response = $this->invoke('neo.commit_transaction', $conn)
          ->setArguments($transactionId, $query, $parameters, $this->resultDataContent, $queryMode)
          ->execute();

        return $this->handleHttpResponse($response);
    }
public function commitTransaction ( $ transactionId , $ query = null , array $ parameters = array ( ) , $ conn = null , $ queryMode = self :: WRITE_QUERY ) { $ response = $ this -> invoke ( 'neo.commit_transaction' , $ conn ) -> setArguments ( $ transactionId , $ query , $ parameters , $ this -> resultDataContent , $ queryMode ) -> execute ( ) ; return $ this -> handleHttpResponse ( $ response ) ; }
Convenience method that commit the transaction
and passes the optional query and parameters as arguments.

@param int         $transactionId The transaction id
@param string|null $query         The query to send
@param array       $parameters    Parameters map of the query
@param string|null $conn          The alias of the connection to use

@return mixed
Convenience method that commit the transaction and passes the optional query and parameters as arguments .