original_string: protected function hasControllerAnnotation(\ReflectionFunctionAbstract $controller, string $annotationClass) : bool
      {
          return $this->getControllerAnnotation($controller, $annotationClass) !== null;
      }
code: protected function hasControllerAnnotation(\ReflectionFunctionAbstract $controller, string $annotationClass) : bool
      {
          return $this->getControllerAnnotation($controller, $annotationClass) !== null;
      }
code_tokens: protected function hasControllerAnnotation ( \ ReflectionFunctionAbstract $ controller , string $ annotationClass ) : bool { return $ this -> getControllerAnnotation ( $ controller , $ annotationClass ) !== null ; }
docstring: Checks whether a controller has an annotation on the class or method.
  
  @param \ReflectionFunctionAbstract $controller
  @param string                      $annotationClass
  
  @return bool Whether the annotation is present.
docstring_tokens: Checks whether a controller has an annotation on the class or method .