function Reader::getMethodAnnotation in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/Reader.php \Doctrine\Common\Annotations\Reader::getMethodAnnotation()
Gets a method annotation.
Parameters
\ReflectionMethod $method The ReflectionMethod to read the annotations from.:
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::getMethodAnnotation()
- AnnotationReader::getMethodAnnotation in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationReader.php - Gets a method annotation.
- CachedReader::getMethodAnnotation in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ CachedReader.php - Gets a method annotation.
- FileCacheReader::getMethodAnnotation in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ FileCacheReader.php - Gets a method annotation.
- IndexedReader::getMethodAnnotation in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ IndexedReader.php - Gets a method annotation.
- SimpleAnnotationReader::getMethodAnnotation in vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ SimpleAnnotationReader.php - Gets a method annotation.
File
- vendor/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ Reader.php, line 68
Class
- Reader
- Interface for annotation readers.
Namespace
Doctrine\Common\AnnotationsCode
function getMethodAnnotation(\ReflectionMethod $method, $annotationName);