function Reader::getClassAnnotations
Gets the annotations applied to a class.
Parameters
ReflectionClass $class The ReflectionClass of the class from which: the class annotations should be read.
Return value
array<object> An array of Annotations.
4 methods override Reader::getClassAnnotations()
- AnnotationReader::getClassAnnotations in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationReader.php - Gets the annotations applied to a class.
- IndexedReader::getClassAnnotations in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ IndexedReader.php - Gets the annotations applied to a class.
- PsrCachedReader::getClassAnnotations in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ PsrCachedReader.php - Gets the annotations applied to a class.
- SimpleAnnotationReader::getClassAnnotations in core/
lib/ Drupal/ Component/ Annotation/ Doctrine/ SimpleAnnotationReader.php - Gets the annotations applied to a class.
File
-
vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ Reader.php, line 22
Class
- Reader
- Interface for annotation readers.
Namespace
Doctrine\Common\AnnotationsCode
public function getClassAnnotations(ReflectionClass $class);