Свойство | Type | Description | |
---|---|---|---|
$defaultRouteIndex | |||
$reader | |||
$routeAnnotationClass |
Méthode | Description | |
---|---|---|
__construct ( |
Constructor. | |
__construct ( Doctrine\Common\Annotations\Reader $reader ) | Constructor. | |
getResolver ( ) : Symfony\Component\Config\Loader\LoaderResolver | Gets the loader resolver. | |
getResolver ( ) : |
Gets the loader resolver. | |
load ( string $class ) : |
Loads from annotations from a class. | |
load ( string $class, string $type = null ) : |
Loads from annotations from a class. | |
setResolver ( Symfony\Component\Config\Loader\LoaderResolver $resolver ) | Sets the loader resolver. | |
setResolver ( |
Sets the loader resolver. | |
setRouteAnnotationClass ( string $class ) | Sets the annotation class to read route properties from. | |
supports ( mixed $resource ) : boolean | Returns true if this class supports the given resource. | |
supports ( mixed $resource, string $type = null ) : boolean | Returns true if this class supports the given resource. |
Méthode | Description | |
---|---|---|
addRoute ( |
||
configureRoute ( Symfony\Component\Routing\Route $route, ReflectionClass $class, ReflectionMethod $method ) | ||
configureRoute ( Symfony\Component\Routing\Route $route, ReflectionClass $class, ReflectionMethod $method, $annot ) | ||
getDefaultRouteName ( ReflectionClass $class, ReflectionMethod $method ) | ||
getDefaultRouteName ( ReflectionClass $class, ReflectionMethod $method ) : string | Gets the default route name for a class method. |
public __construct ( |
||
$reader |
public __construct ( Doctrine\Common\Annotations\Reader $reader ) | ||
$reader | Doctrine\Common\Annotations\Reader |
protected addRoute ( |
||
$collection | ||
$class | ReflectionClass | |
$method | ReflectionMethod |
abstract protected configureRoute ( Symfony\Component\Routing\Route $route, ReflectionClass $class, ReflectionMethod $method ) | ||
$route | Symfony\Component\Routing\Route | |
$class | ReflectionClass | |
$method | ReflectionMethod |
abstract protected configureRoute ( Symfony\Component\Routing\Route $route, ReflectionClass $class, ReflectionMethod $method, $annot ) | ||
$route | Symfony\Component\Routing\Route | |
$class | ReflectionClass | |
$method | ReflectionMethod |
protected getDefaultRouteName ( ReflectionClass $class, ReflectionMethod $method ) | ||
$class | ReflectionClass | |
$method | ReflectionMethod |
protected getDefaultRouteName ( ReflectionClass $class, ReflectionMethod $method ) : string | ||
$class | ReflectionClass | |
$method | ReflectionMethod | |
Résultat | string |
public getResolver ( ) : Symfony\Component\Config\Loader\LoaderResolver | ||
Résultat | Symfony\Component\Config\Loader\LoaderResolver | A LoaderResolver instance |
public getResolver ( ) : |
||
Résultat | A LoaderResolver instance |
public setResolver ( Symfony\Component\Config\Loader\LoaderResolver $resolver ) | ||
$resolver | Symfony\Component\Config\Loader\LoaderResolver | A LoaderResolver instance |
public setResolver ( |
||
$resolver | A LoaderResolver instance |
public setRouteAnnotationClass ( string $class ) | ||
$class | string | A fully-qualified class name |