Doctrine\Common\Annotations\Annotation\Target
Annotation that can be used to signal to the parser to check the annotation target during the parsing process.
- Author: Fabio B. Silva <fabio.bat.silva@gmail.com>
Synopsis
class Target
{
- // constants
- const TARGET_CLASS = 1;
- const TARGET_METHOD = 2;
- const TARGET_PROPERTY = 4;
- const TARGET_ANNOTATION = 8;
- const TARGET_ALL = 15;
- // members
- private array $map;
- public array $value;
- public integer $targets;
- public integer $literal;
- // methods
- public void __construct()
Constants
Name | Value |
---|---|
TARGET_CLASS | 1 |
TARGET_METHOD | 2 |
TARGET_PROPERTY | 4 |
TARGET_ANNOTATION | 8 |
TARGET_ALL | 15 |
Members
private
- $map — array
public
- $literal
—
integer
Literal target declaration. - $targets
—
integer
Targets as bitmask. - $value — array