Code Reformatting (PSR-1, partly PSR-2)

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Refactored JsonBody option inclusions + Code Reformatting (PSR-1, partly PSR-2) + made client-internal options underscored

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Extended/Changed tests to reflect changes since version 1.2.0-BETA1

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Small fixes for phpDoc

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Regenerated docs

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Merge pull request #41 from frankmayer/devel

More refactoring, introduced underscored internal options, more tests, code reformat (PSR-1, partly PSR-2)
Batch example stub

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Updated CHANGELOG

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Corrected HTTP response codes assertions after ArangoDB is now correctly returning 404 in those cases

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Small phpDoc fixes

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Implemented CollectionHandler->updateByExample() & CollectionHandler->replaceByExample(), see #40

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Modified DocumentHandler->save() so that an array can be passed instead of a document object.

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Modified EdgeHandler->save() so that an array can be passed instead of an edge object.

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Modified GraphHandler->saveVertex() and GraphHandler->saveEdge() so that an array can be passed instead of an object.

Signed-off-by: Frank Mayer <frank@frankmayer.net>
code-style corrections

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Modified CollectionHandler.php to also accept a name and options instead of only a collection object (see https://github.com/triAGENS/ArangoDB-PHP/issues/44). Options can also be set when using an object. Also did some code-style fixing.

Signed-off-by: Frank Mayer <frank@frankmayer.net>
small fix in test

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Bumped travis ArangoDB version to 1.2.beta3

Signed-off-by: Frank Mayer <frank@frankmayer.net>
fixes...

Signed-off-by: Frank Mayer <frank@frankmayer.net>
Added myself to authors

Signed-off-by: Frank Mayer <frank@frankmayer.net>