CodeExplorer RedirectableCompiledUrlMatcher example
'httpsPort' =>
$context->
getHttpsPort(),
'_route' => 'foo',
],
$matcher->
match('/foo'
) );
} private function getMatcher(RouteCollection
$routes, RequestContext
$context) { $dumper =
new CompiledUrlMatcherDumper($routes);
return new RedirectableCompiledUrlMatcher($dumper->
getCompiledRoutes(),
$context);
}}