$suffixCollection->
add('r20',
new Route('abc{foo}/20'
));
$suffixCollection->
add('r100',
new Route('abc{foo}/100'
));
$suffixCollection->
add('r200',
new Route('abc{foo}/200'
));
/* test case 13 */
$hostCollection =
new RouteCollection();
$hostCollection->
add('r1',
(new Route('abc{foo}'
))->
setHost('{foo}.exampple.com'
));
$hostCollection->
add('r2',
(new Route('abc{foo}'
))->
setHost('{foo}.exampple.com'
));
/* test case 14 */
$fixedLocaleCollection =
new RouteCollection();
$routes =
new RoutingConfigurator($fixedLocaleCollection,
new PhpFileLoader(new FileLocator()), __FILE__, __FILE__
);
$routes ->
collection() ->
prefix('/{_locale}'
) ->
add('home',
[ 'fr' => 'accueil',
'en' => 'home',
]) ;
return [ [new RouteCollection(), 'compiled_url_matcher0.php'
],
[