Method | Description | |
---|---|---|
__construct ( Sulu\Bundle\RouteBundle\Entity\RouteRepositoryInterface $routeRepository, Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface $requestAnalyzer, Sulu\Bundle\RouteBundle\Routing\Defaults\RouteDefaultsProviderInterface $routeDefaultsProvider, Symfony\Component\HttpFoundation\RequestStack $requestStack, ProxyManager\Factory\LazyLoadingValueHolderFactory $proxyFactory = null ) | ||
getRouteByName ( $name ) | ||
getRouteCollectionForRequest ( |
||
getRoutesByNames ( $names ) |
Method | Description | |
---|---|---|
createRoute ( Sulu\Bundle\RouteBundle\Model\RouteInterface $route, |
Will create a symfony route. |
Method | Description | |
---|---|---|
findRouteByPath ( string $path, string $locale ) : Sulu\Bundle\RouteBundle\Entity\Route | Find route and cache it. |
public __construct ( Sulu\Bundle\RouteBundle\Entity\RouteRepositoryInterface $routeRepository, Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface $requestAnalyzer, Sulu\Bundle\RouteBundle\Routing\Defaults\RouteDefaultsProviderInterface $routeDefaultsProvider, Symfony\Component\HttpFoundation\RequestStack $requestStack, ProxyManager\Factory\LazyLoadingValueHolderFactory $proxyFactory = null ) | ||
$routeRepository | Sulu\Bundle\RouteBundle\Entity\RouteRepositoryInterface | |
$requestAnalyzer | Sulu\Component\Webspace\Analyzer\RequestAnalyzerInterface | |
$routeDefaultsProvider | Sulu\Bundle\RouteBundle\Routing\Defaults\RouteDefaultsProviderInterface | |
$requestStack | Symfony\Component\HttpFoundation\RequestStack | |
$proxyFactory | ProxyManager\Factory\LazyLoadingValueHolderFactory |
protected createRoute ( Sulu\Bundle\RouteBundle\Model\RouteInterface $route, |
||
$route | Sulu\Bundle\RouteBundle\Model\RouteInterface | |
$request | ||
return | Symfony\Component\Routing\Route |
public getRouteCollectionForRequest ( |
||
$request |