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
$metadata = array
( 'default_property' => null,
'has_constructor'
=> (null !==
$constructor =
$class->
getConstructor()) &&
$constructor->
getNumberOfParameters() > 0,
'properties' => array
(),
'property_types' => array
(),
'attribute_types' => array
(),
'targets_literal' => null,
'targets' => Target::TARGET_ALL,