public getMethodAnnotation ( ReflectionMethod $method, string $annotation ) : The | ||
$method | ReflectionMethod | |
$annotation | string | The name of the annotation. |
return | The | Annotation or null, if the requested annotation does not exist. |
public function getMethodAnnotation(\ReflectionMethod $method, $annotation);