You are here

private static property DocParser::$annotationMetadata in Plug 7

Hash-map for caching annotation metadata.

Type: array

File

lib/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php, line 132

Class

DocParser
A parser for docblock annotations.

Namespace

Doctrine\Common\Annotations

Code

private static $annotationMetadata = array(
  'Doctrine\\Common\\Annotations\\Annotation\\Target' => array(
    'is_annotation' => true,
    'has_constructor' => true,
    'properties' => array(),
    'targets_literal' => 'ANNOTATION_CLASS',
    'targets' => Target::TARGET_CLASS,
    'default_property' => 'value',
    'attribute_types' => array(
      'value' => array(
        'required' => false,
        'type' => 'array',
        'array_type' => 'string',
        'value' => 'array<string>',
      ),
    ),
  ),
  'Doctrine\\Common\\Annotations\\Annotation\\Attribute' => array(
    'is_annotation' => true,
    'has_constructor' => false,
    'targets_literal' => 'ANNOTATION_ANNOTATION',
    'targets' => Target::TARGET_ANNOTATION,
    'default_property' => 'name',
    'properties' => array(
      'name' => 'name',
      'type' => 'type',
      'required' => 'required',
    ),
    'attribute_types' => array(
      'value' => array(
        'required' => true,
        'type' => 'string',
        'value' => 'string',
      ),
      'type' => array(
        'required' => true,
        'type' => 'string',
        'value' => 'string',
      ),
      'required' => array(
        'required' => false,
        'type' => 'boolean',
        'value' => 'boolean',
      ),
    ),
  ),
  'Doctrine\\Common\\Annotations\\Annotation\\Attributes' => array(
    'is_annotation' => true,
    'has_constructor' => false,
    'targets_literal' => 'ANNOTATION_CLASS',
    'targets' => Target::TARGET_CLASS,
    'default_property' => 'value',
    'properties' => array(
      'value' => 'value',
    ),
    'attribute_types' => array(
      'value' => array(
        'type' => 'array',
        'required' => true,
        'array_type' => 'Doctrine\\Common\\Annotations\\Annotation\\Attribute',
        'value' => 'array<Doctrine\\Common\\Annotations\\Annotation\\Attribute>',
      ),
    ),
  ),
  'Doctrine\\Common\\Annotations\\Annotation\\Enum' => array(
    'is_annotation' => true,
    'has_constructor' => true,
    'targets_literal' => 'ANNOTATION_PROPERTY',
    'targets' => Target::TARGET_PROPERTY,
    'default_property' => 'value',
    'properties' => array(
      'value' => 'value',
    ),
    'attribute_types' => array(
      'value' => array(
        'type' => 'array',
        'required' => true,
      ),
      'literal' => array(
        'type' => 'array',
        'required' => false,
      ),
    ),
  ),
);