public function run($statement, $parameters = null, $tag = null)
{
$this->checkSession();
$parameters = (array) $parameters;
try {
return $this->session->run($statement, $parameters, $tag);
} catch (MessageFailureException $e) {
$exception = new Neo4jException($e->getMessage());
$exception->setNeo4jStatusCode($e->getStatusCode());
throw $exception;
}
}