function AnnotationReader::getIgnoredAnnotationNames
Returns the ignored annotations for the given class or function.
Parameters
ReflectionClass|ReflectionFunction $reflection:
Return value
array<string, true>
4 calls to AnnotationReader::getIgnoredAnnotationNames()
- AnnotationReader::getClassAnnotations in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationReader.php - Gets the annotations applied to a class.
- AnnotationReader::getFunctionAnnotations in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationReader.php - Gets the annotations applied to a function.
- AnnotationReader::getMethodAnnotations in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationReader.php - Gets the annotations applied to a method.
- AnnotationReader::getPropertyAnnotations in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationReader.php - Gets the annotations applied to a property.
File
-
vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationReader.php, line 274
Class
- AnnotationReader
- A reader for docblock annotations.
Namespace
Doctrine\Common\AnnotationsCode
private function getIgnoredAnnotationNames($reflection) : array {
$type = $reflection instanceof ReflectionClass ? 'class' : 'function';
$name = $reflection->getName();
if (isset($this->ignoredAnnotationNames[$type][$name])) {
return $this->ignoredAnnotationNames[$type][$name];
}
$this->collectParsingMetadata($reflection);
return $this->ignoredAnnotationNames[$type][$name];
}