mirror of
https://github.com/nullthoughts/laravel-data-sync.git
synced 2026-02-11 16:52:10 +00:00
Initial commit
This commit is contained in:
29
vendor/symfony/routing/Tests/Fixtures/php_dsl.php
vendored
Normal file
29
vendor/symfony/routing/Tests/Fixtures/php_dsl.php
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace Symfony\Component\Routing\Loader\Configurator;
|
||||
|
||||
return function (RoutingConfigurator $routes) {
|
||||
$routes
|
||||
->collection()
|
||||
->add('foo', '/foo')
|
||||
->condition('abc')
|
||||
->options(array('utf8' => true))
|
||||
->add('buz', 'zub')
|
||||
->controller('foo:act');
|
||||
|
||||
$routes->import('php_dsl_sub.php')
|
||||
->prefix('/sub')
|
||||
->requirements(array('id' => '\d+'));
|
||||
|
||||
$routes->import('php_dsl_sub.php')
|
||||
->namePrefix('z_')
|
||||
->prefix('/zub');
|
||||
|
||||
$routes->import('php_dsl_sub_root.php')
|
||||
->prefix('/bus', false);
|
||||
|
||||
$routes->add('ouf', '/ouf')
|
||||
->schemes(array('https'))
|
||||
->methods(array('GET'))
|
||||
->defaults(array('id' => 0));
|
||||
};
|
||||
Reference in New Issue
Block a user