protected function buildRouter()
    {
        $routes = new RouteCollection();
        $context = new RequestContext();
        $router = new UrlMatcher($routes, $context);

        return($router);
    }
protected function buildRouter()
    {
        $routes = new RouteCollection();
        $context = new RequestContext();
        $router = new UrlMatcher($routes, $context);

        return($router);
    }
protected function buildRouter ( ) { $ routes = new RouteCollection ( ) ; $ context = new RequestContext ( ) ; $ router = new UrlMatcher ( $ routes , $ context ) ; return ( $ router ) ; }
buildRouter
Build the router for matching requests to controllers,
extended by children kernels.

@return Symfony\Component\Router\Matcher\RequestMatcherInterface $router
buildRouter Build the router for matching requests to controllers extended by children kernels .