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