private function collectAnnotationMetadata($name) { if (self::
$metadataParser === null
) { self::
$metadataParser =
new self();
self::
$metadataParser->
setIgnoreNotImportedAnnotations(true
);
self::
$metadataParser->
setIgnoredAnnotationNames($this->ignoredAnnotationNames
);
self::
$metadataParser->
setImports(array
( 'enum' => 'Doctrine\Common\Annotations\Annotation\Enum',
'target' => 'Doctrine\Common\Annotations\Annotation\Target',
'attribute' => 'Doctrine\Common\Annotations\Annotation\Attribute',
'attributes' => 'Doctrine\Common\Annotations\Annotation\Attributes'
));
} $class =
new \
ReflectionClass($name);
$docComment =
$class->
getDocComment();
// Sets default values for annotation metadata