PHP Classes

File: vendor/symfony/routing/Tests/Fixtures/php_dsl_i18n.php

Recommend this page to a friend!
  Classes of Stanley Aloh   Tic Tac Toe Multiplayer   vendor/symfony/routing/Tests/Fixtures/php_dsl_i18n.php   Download  
File: vendor/symfony/routing/Tests/Fixtures/php_dsl_i18n.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Tic Tac Toe Multiplayer
Manage the interactions ofTic-Tac-Toe game players
Author: By
Last change:
Date: 6 months ago
Size: 392 bytes
 

Contents

Class file image Download
<?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']);
};