public function IndexedReader::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.
Overrides Reader::getMethodAnnotation
File
- lib/
doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ IndexedReader.php, line 81
Class
- IndexedReader
- Allows the reader to be used in-place of Doctrine's reader.
Namespace
Doctrine\Common\AnnotationsCode
public function getMethodAnnotation(\ReflectionMethod $method, $annotation) {
return $this->delegate
->getMethodAnnotation($method, $annotation);
}