Sets the annotation class to read route properties from.
Parameters
string $class A fully-qualified class name:
File
- drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Loader/AnnotationClassLoader.php, line 90
Class
- AnnotationClassLoader
- AnnotationClassLoader loads routing information from a PHP class and its methods.
Namespace
Symfony\Component\Routing\Loader
Code
public function setRouteAnnotationClass($class) {
$this->routeAnnotationClass = $class;
}