Go\Aop\Support\AnnotatedReflectionMethod::getAnnotation PHP Method

getAnnotation() public method

Gets a method annotation.
public getAnnotation ( string $annotationName ) : mixed
$annotationName string The name of the annotation.
return mixed The Annotation or NULL, if the requested annotation does not exist.
    public function getAnnotation($annotationName)
    {
        return self::getReader()->getMethodAnnotation($this, $annotationName);
    }