public function testTransactionCommitCase() { $cypher = new Cypher('http://localhost:7474'); $cypher->beginTransaction(); $create = $cypher->statement('CREATE (n) RETURN id(n) AS id')->execute(); $cypher->commit(); $fetch = $cypher->statement('START n = node({id}) RETURN id(n) AS id', array('id' => $create[0][0]['id']))->execute(); var_dump($fetch[0][0]['id']); // Changes persist after commit }