?? GreyFile — Mystic File Browser

Current path: home/webdevt/prestashop17/vendor/symfony/symfony/src/Symfony/Component/Routing/Tests/Fixtures/



?? Go up: /home/webdevt/prestashop17/vendor/symfony/symfony/src/Symfony/Component/Routing/Tests

?? Viewing: validpattern.php

<?php

use Symfony\Component\Routing\Route;
use Symfony\Component\Routing\RouteCollection;

$collection = new RouteCollection();
$collection->add('blog_show', new Route(
    '/blog/{slug}',
    ['_controller' => 'MyBlogBundle:Blog:show'],
    ['locale' => '\w+'],
    ['compiler_class' => 'RouteCompiler'],
    '{locale}.example.com',
    ['https'],
    ['GET', 'POST', 'put', 'OpTiOnS'],
    'context.getMethod() == "GET"'
));

return $collection;


??

??