private static property DocParser::$annotationMetadata in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php \Drupal\Component\Annotation\Doctrine\DocParser::annotationMetadata
- 10 core/lib/Drupal/Component/Annotation/Doctrine/DocParser.php \Drupal\Component\Annotation\Doctrine\DocParser::annotationMetadata
Hash-map for caching annotation metadata.
Type: array
File
- core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ DocParser.php, line 136 - This class is a near-copy of Doctrine\Common\Annotations\DocParser, which is part of the Doctrine project: <http://www.doctrine-project.org>. It was copied from version 1.2.7.
Class
- DocParser
- A parser for docblock annotations.
Namespace
Drupal\Component\Annotation\DoctrineCode
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,
),
),
),
);