function Reader::getClassAnnotation in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Reader.php \Doctrine\Common\Annotations\Reader::getClassAnnotation()
Gets a class annotation.
Parameters
\ReflectionClass $class The ReflectionClass of the class from which: the class annotations should be read.
string $annotationName The name of the annotation.:
Return value
object|null The Annotation or NULL, if the requested annotation does not exist.
5 methods override Reader::getClassAnnotation()
- AnnotationReader::getClassAnnotation in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationReader.php - Gets a class annotation.
- CachedReader::getClassAnnotation in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ CachedReader.php - Gets a class annotation.
- FileCacheReader::getClassAnnotation in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ FileCacheReader.php - Gets a class annotation.
- IndexedReader::getClassAnnotation in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ IndexedReader.php - Gets a class annotation.
- SimpleAnnotationReader::getClassAnnotation in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ SimpleAnnotationReader.php - Gets a class annotation.
File
- vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ Reader.php, line 48
Class
- Reader
- Interface for annotation readers.
Namespace
Doctrine\Common\AnnotationsCode
function getClassAnnotation(\ReflectionClass $class, $annotationName);