PHP Classes

File: vendor/symfony/routing/Tests/Fixtures/glob/php_dsl_baz.php

Recommend this page to a friend!
  Classes of Stanley Aloh   Tic Tac Toe Multiplayer   vendor/symfony/routing/Tests/Fixtures/glob/php_dsl_baz.php   Download  
File: vendor/symfony/routing/Tests/Fixtures/glob/php_dsl_baz.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: 9 days ago
Size: 286 bytes
 

Contents

Class file image Download
<?php

namespace Symfony\Component\Routing\Loader\Configurator;

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

   
$collection->add('baz_route', '/baz')
        ->
defaults(['_controller' => 'AppBundle:Baz:view']);

    return
$collection;
};