This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/Symfony/Tests/Component/Routing/Fixtures/validpattern.php
2011-03-19 23:37:58 +01:00

11 lines
264 B
PHP

<?php
use Symfony\Component\Routing\RouteCollection;
use Symfony\Component\Routing\Route;
$collection = new RouteCollection();
$collection->add('blog_show', new Route('/blog/{slug}', array(
'_controller' => 'MyBlogBundle:Blog:show',
)));
return $collection;