Target::$map

@var array<string, int>

Type: map

File

core/lib/Drupal/Component/Annotation/Doctrine/Annotation/Target.php, line 55

Class

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

Namespace

Drupal\Component\Annotation\Doctrine\Annotation

Code

private static $map = [
  'ALL' => self::TARGET_ALL,
  'CLASS' => self::TARGET_CLASS,
  'METHOD' => self::TARGET_METHOD,
  'PROPERTY' => self::TARGET_PROPERTY,
  'FUNCTION' => self::TARGET_FUNCTION,
  'ANNOTATION' => self::TARGET_ANNOTATION,
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.