Doctrine\Common\Annotations\FileCacheReader::getClassAnnotation
Gets a class annotation.
Signature
public function getClassAnnotation(ReflectionClass
$class,
string
$annotationName )
Parameters
$class
— \ReflectionClass- The ReflectionClass of the class from which
the class annotations should be read. $annotationName
— string- The name of the annotation.
Returns
- mixed
- The Annotation or NULL, if the requested annotation does not exist.