Files
w4rpservices/vendor/symfony/routing/Tests/Fixtures/php_dsl_i18n.php
2019-05-18 09:06:43 +00:00

18 lines
392 B
PHP

<?php
namespace Symfony\Component\Routing\Loader\Configurator;
return function (RoutingConfigurator $routes) {
$routes
->collection()
->prefix(['en' => '/glish'])
->add('foo', '/foo')
->add('bar', ['en' => '/bar']);
$routes
->add('baz', ['en' => '/baz']);
$routes->import('php_dsl_sub_i18n.php')
->prefix(['fr' => '/ench']);
};