Beta version

class StaticRouter extends Router

Router class which takes a DeferredRouteCollection instead of YamlLoader.

Methods

__construct(DeferredRouteCollection $routeCollection, array $options = array(), RequestContext $context = null, LoggerInterface $logger = null)

StaticRouter constructor.

null|DeferredRouteCollection|RouteCollection
getRouteCollection()

No description

Details

at line 50
__construct(DeferredRouteCollection $routeCollection, array $options = array(), RequestContext $context = null, LoggerInterface $logger = null)

StaticRouter constructor.

Parameters

DeferredRouteCollection $routeCollection
array $options
RequestContext $context
LoggerInterface $logger

at line 65
null|DeferredRouteCollection|RouteCollection getRouteCollection()

Return Value

null|DeferredRouteCollection|RouteCollection