public function getMethodAnnotation(\ReflectionMethod $method, $annotationName)
    {
        return $this->findReader($method->getDeclaringClass())
            ->getMethodAnnotation($method, $annotationName);
    }
public function getMethodAnnotation(\ReflectionMethod $method, $annotationName)
    {
        return $this->findReader($method->getDeclaringClass())
            ->getMethodAnnotation($method, $annotationName);
    }
public function getMethodAnnotation ( \ ReflectionMethod $ method , $ annotationName ) { return $ this -> findReader ( $ method -> getDeclaringClass ( ) ) -> getMethodAnnotation ( $ method , $ annotationName ) ; }
Gets a method annotation.

@param \ReflectionMethod $method the ReflectionMethod to read the annotations from
@param string $annotationName the name of the annotation

@return null|object the Annotation or NULL, if the requested annotation does not exist
Gets a method annotation .