class Target (View source)

Annotation that can be used to signal to the parser to check the annotation target during the parsing process.

Constants

TARGET_CLASS

TARGET_METHOD

TARGET_PROPERTY

TARGET_ANNOTATION

TARGET_ALL

Properties

array $value
integer $targets Targets as bitmask.
integer $literal Literal target declaration.

Methods

__construct(array $values)

Annotation constructor.

Details

__construct(array $values)

Annotation constructor.

Parameters

array $values

Exceptions

InvalidArgumentException