You are here

function Reader::getMethodAnnotation in Service Container 7

Same name and namespace in other branches
  1. 7.2 modules/providers/service_container_annotation_discovery/lib/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 modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php
Gets a method annotation.
CachedReader::getMethodAnnotation in modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php
Gets a method annotation.
FileCacheReader::getMethodAnnotation in modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/FileCacheReader.php
Gets a method annotation.
IndexedReader::getMethodAnnotation in modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/IndexedReader.php
Gets a method annotation.
SimpleAnnotationReader::getMethodAnnotation in modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/SimpleAnnotationReader.php
Gets a method annotation.

File

modules/providers/service_container_annotation_discovery/lib/Doctrine/annotations/lib/Doctrine/Common/Annotations/Reader.php, line 68

Class

Reader
Interface for annotation readers.

Namespace

Doctrine\Common\Annotations

Code

function getMethodAnnotation(\ReflectionMethod $method, $annotationName);