Neos\Flow\Reflection\ReflectionService::isMethodAnnotatedWith PHP Метод

isMethodAnnotatedWith() публичный Метод

Tells if the specified method has the given annotation
public isMethodAnnotatedWith ( string $className, string $methodName, string $annotationClassName ) : boolean
$className string Name of the class
$methodName string Name of the method
$annotationClassName string Annotation to check for
Результат boolean
    public function isMethodAnnotatedWith($className, $methodName, $annotationClassName)
    {
        return $this->getMethodAnnotations($className, $methodName, $annotationClassName) !== [];
    }
ReflectionService