private function readClassAnnotation(\ReflectionClass $reflectionClass, $annotationName)
    {
        $annotationClass = "FOS\\RestBundle\\Controller\\Annotations\\$annotationName";

        if ($annotation = $this->annotationReader->getClassAnnotation($reflectionClass, $annotationClass)) {
            return $annotation;
        }
    }
private function readClassAnnotation(\ReflectionClass $reflectionClass, $annotationName)
    {
        $annotationClass = "FOS\\RestBundle\\Controller\\Annotations\\$annotationName";

        if ($annotation = $this->annotationReader->getClassAnnotation($reflectionClass, $annotationClass)) {
            return $annotation;
        }
    }
private function readClassAnnotation ( \ ReflectionClass $ reflectionClass , $ annotationName ) { $ annotationClass = "FOS\\RestBundle\\Controller\\Annotations\\$annotationName" ; if ( $ annotation = $ this -> annotationReader -> getClassAnnotation ( $ reflectionClass , $ annotationClass ) ) { return $ annotation ; } }
Reads class annotations.

@param \ReflectionClass $reflectionClass
@param string           $annotationName

@return RouteAnnotation|null
Reads class annotations .