Skip to content

Releases: hostnet/accessor-generator-plugin-lib

Updated Enumerator Accessor Generation

01 Mar 14:51
Compare
Choose a tag to compare
  • Added compatibility for coorperation with the entity-plugin-lib (use of Traits)
  • Improved consistency in setting name: "name" is now "property" in the Enumerator annotation.
  • Updated readme & examples

Enumerator Accessor Generation

23 Feb 10:00
Compare
Choose a tag to compare

This version introduces accessor generation for enum-based parameters.
See the updated README.md for information and examples.

This version requires PHP 7.1.

We will continue supporting the 2.7.x version for the time being for bugfixes if PHP 7.1 is not available to you.

Allow Symfony 4

28 Dec 14:01
fcf42b6
Compare
Choose a tag to compare

Updates composer json to allow Symfony 4.

Twig 2.0

16 Mar 09:18
Compare
Choose a tag to compare
  • Forward compatible with twig ^2.0
  • Allow installation of twig ^2.0

Made generator use the short names for integer and boolean

17 Feb 14:23
Compare
Choose a tag to compare

A KeyRegistry class is now generated.

20 Jan 10:36
Compare
Choose a tag to compare

A KeyRegistry class is generated per directory of generated entities, containing the encryption key paths. Also added methods to add keys manually.

Updated twig/twig to ^1.28

21 Dec 10:27
Compare
Choose a tag to compare
Merge pull request #7 from msteltenpool/master

Updated twig/twig to ^1.28.

encryption_alias to generate methods that encrypt and decrypt using provided keys

21 Dec 09:42
Compare
Choose a tag to compare

Account for inheritance with custom type hint

12 Oct 15:34
Compare
Choose a tag to compare

When using a custom type hint on a collection and generate an add method, reflection on the object will not be able to access the private property of the parent class and when using reflection on the class type of the relation an exception will be thrown by PHP7.1 when the added object is of the type hinted type and does not implement or extends the real type, although the real type may implement the type hint type.

See test/Generator/PracticalVehicleOwnerTest.php for the different cases and how they are handled.