PHP 클래스 Sulu\Bundle\RouteBundle\Routing\RouteProvider

상속: implements Symfony\Cmf\Component\Routing\RouteProviderInterface
파일 보기 프로젝트 열기: sulu/sulu

공개 메소드들

메소드 설명
__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 ( Request $request )
getRoutesByNames ( $names )

보호된 메소드들

메소드 설명
createRoute ( Sulu\Bundle\RouteBundle\Model\RouteInterface $route, Request $request ) : Symfony\Component\Routing\Route Will create a symfony route.

비공개 메소드들

메소드 설명
findRouteByPath ( string $path, string $locale ) : Sulu\Bundle\RouteBundle\Entity\Route Find route and cache it.

메소드 상세

__construct() 공개 메소드

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

createRoute() 보호된 메소드

Will create a symfony route.
protected createRoute ( Sulu\Bundle\RouteBundle\Model\RouteInterface $route, Request $request ) : Symfony\Component\Routing\Route
$route Sulu\Bundle\RouteBundle\Model\RouteInterface
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\Routing\Route

getRouteByName() 공개 메소드

public getRouteByName ( $name )

getRouteCollectionForRequest() 공개 메소드

public getRouteCollectionForRequest ( Request $request )
$request Symfony\Component\HttpFoundation\Request

getRoutesByNames() 공개 메소드

public getRoutesByNames ( $names )