Skip to content

Unify Namespaces

Compare
Choose a tag to compare
@wol-soft wol-soft released this 02 Mar 13:38
· 288 commits to master since this release

BREAKING CHANGES
The namespaces of the generator library and the library holding all code required to run the generated code are now both PHPModelGenerator. The package which holds the code required to run the generated code is now located at wol-soft/php-json-schema-model-generator-production (previous package wol-soft/php-json-schema-model-generator-exception is deprecated).

To update simply change the require to the new package and change all old namespaces from that package (PHPModelGeneratorException\ becomes PHPModelGenerator\Exception\).

Additionally all classes generated with serialization enabled now implement the interface PHPModelGenerator\Interfaces\SerializationInterface