martin-schilling / php-velocypack

PHP 7.1+ extension wrapping the arangodb/velocypack library
6 stars 0 forks source link

Add support for building and modifying Vpacks #3

Open martin-schilling opened 6 years ago

martin-schilling commented 6 years ago

This should probably include adding a ImmutableVpack class that may only be create once by fromJson(), fromArray(), or fromBinary() and not modified after. The normal Vpack class should keep the builder top level open and additionally provide a constructor that creates an empty vpack