jadell / neo4jphp

PHP wrapper of the Neo4j REST interface
Other
532 stars 137 forks source link

Cleant::hasBatch method added #79

Closed amal closed 11 years ago

amal commented 11 years ago

Method is needed if we want to check if batch is already started. It wasn't possible (externally).

jadell commented 11 years ago

Please add a simple unit test. Everything else looks good. Thanks!

jadell commented 11 years ago

I am curious what the use case for this would be. You can tell if there is a batch open of not by keeping track of the Batch object returned by Client::startBatch.

Closing pull request because of no unit test. If you want this included, please re-open the pull request with a unit test, and an explanation of the use case so we can discuss.