public function openTransaction($conn = null, $queryMode = self::WRITE_QUERY)
    {
        $command = $this->invoke('neo.open_transaction', $conn);
        $command->setArguments($queryMode);
        $httpResponse = $command->execute();

        return $this->handleHttpResponse($httpResponse);
    }
public function openTransaction($conn = null, $queryMode = self::WRITE_QUERY)
    {
        $command = $this->invoke('neo.open_transaction', $conn);
        $command->setArguments($queryMode);
        $httpResponse = $command->execute();

        return $this->handleHttpResponse($httpResponse);
    }
public function openTransaction ( $ conn = null , $ queryMode = self :: WRITE_QUERY ) { $ command = $ this -> invoke ( 'neo.open_transaction' , $ conn ) ; $ command -> setArguments ( $ queryMode ) ; $ httpResponse = $ command -> execute ( ) ; return $ this -> handleHttpResponse ( $ httpResponse ) ; }
Convenience method that invoke the OpenTransactionCommand.

@param string|null $conn The alias of the connection to use

@return mixed
Convenience method that invoke the OpenTransactionCommand .