You are here

public function AnnotationClassLoader::setRouteAnnotationClass in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/Loader/AnnotationClassLoader.php \Symfony\Component\Routing\Loader\AnnotationClassLoader::setRouteAnnotationClass()

Sets the annotation class to read route properties from.

Parameters

string $class A fully-qualified class name:

File

vendor/symfony/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;
}