function Reader::getClassAnnotation in Service Container 7.2
Same name and namespace in other branches
- 7 modules/providers/service_container_annotation_discovery/lib/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 modules/
providers/ service_container_annotation_discovery/ lib/ Doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationReader.php - Gets a class annotation.
- CachedReader::getClassAnnotation in modules/
providers/ service_container_annotation_discovery/ lib/ Doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ CachedReader.php - Gets a class annotation.
- FileCacheReader::getClassAnnotation in modules/
providers/ service_container_annotation_discovery/ lib/ Doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ FileCacheReader.php - Gets a class annotation.
- IndexedReader::getClassAnnotation in modules/
providers/ service_container_annotation_discovery/ lib/ Doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ IndexedReader.php - Gets a class annotation.
- SimpleAnnotationReader::getClassAnnotation in modules/
providers/ service_container_annotation_discovery/ lib/ Doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ SimpleAnnotationReader.php - Gets a class annotation.
File
- modules/
providers/ service_container_annotation_discovery/ lib/ 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);