class Enum (View source)

Annotation that can be used to signal to the parser to check the available values during the parsing process.

Properties

array $value
array $literal Literal target declaration.

Methods

__construct(array $values)

Annotation constructor.

Details

__construct(array $values)

Annotation constructor.

Parameters

array $values

Exceptions

InvalidArgumentException