Skip to content

Releases: ThomasSquall/PHPMagicAnnotations

Release 0.8.3

29 Dec 16:32
Compare
Choose a tag to compare

This release brings array support on Annotations parameters.

In order to permit this, I had to move from C#-like annotations to Java-like ones.

That means that the following example annotation:

[\MyNamespace\MyAnnotation]

Should now be written:

@mynamespace\MyAnnotation

Arrays are supported with the following format

@mynamespace\MyAnnotation(myArg = [val1, val2])

NOTE: array(val1, val2) is not supported as round brackets will cause a conflict with the argument round brackets

Annotations First Stable Release

14 Jan 03:21
Compare
Choose a tag to compare

In this release:
Class Annotations
Properties Annotations
Methods Annotations
Dynamic Annotations