function Reader::getMethodAnnotation in Plug 7
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 lib/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationReader.php - Gets a method annotation.
- CachedReader::getMethodAnnotation in lib/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ CachedReader.php - Gets a method annotation.
- FileCacheReader::getMethodAnnotation in lib/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ FileCacheReader.php - Gets a method annotation.
- IndexedReader::getMethodAnnotation in lib/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ IndexedReader.php - Gets a method annotation.
- SimpleAnnotationReader::getMethodAnnotation in lib/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ SimpleAnnotationReader.php - Gets a method annotation.
File
- lib/
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);