Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Target.php

Target::$map

@var array<string, int>

Type: map

File

vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Target.php, line 32

Class

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

Namespace

Doctrine\Common\Annotations\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,
];
RSS feed
Powered by Drupal