We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Used on a static property which must be initialised as an array. This allows use of the array as an "enum" in annotation parameters.
<? /** * @Annotation */ class Foo { /** * @Enum("Id") */ public static $enumId = array( "HELLO" => 1, "GOODBYE" => 2 );
This would allow use of "Foo.Id.HELLO" as a value in parameter for an annotation:
@Foo(blah=Foo.Id.HELLO)
Back to Annotations list