PHP Classes

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

Recommend this page to a friend!
  Classes of Hillary Kollan   Chatto PHP Websocket Chat System   vendor/symfony/routing/Tests/Fixtures/php_dsl_sub_root.php   Download  
File: vendor/symfony/routing/Tests/Fixtures/php_dsl_sub_root.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Chatto PHP Websocket Chat System
Websocket based chat system using Ratchet library
Author: By
Last change:
Date: 3 years ago
Size: 204 bytes
 

Contents

Class file image Download
<?php

namespace Symfony\Component\Routing\Loader\Configurator;

return function (
RoutingConfigurator $routes) {
   
$add = $routes->collection('r_');

   
$add('root', '/');
   
$add('bar', '/bar/');
};