public function IndexedReader::getClassAnnotation in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/IndexedReader.php \Doctrine\Common\Annotations\IndexedReader::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.
Overrides Reader::getClassAnnotation
File
- vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ IndexedReader.php, line 60
Class
- IndexedReader
- Allows the reader to be used in-place of Doctrine's reader.
Namespace
Doctrine\Common\AnnotationsCode
public function getClassAnnotation(\ReflectionClass $class, $annotation) {
return $this->delegate
->getClassAnnotation($class, $annotation);
}