File
- drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Tests/Generator/UrlGeneratorTest.php, line 270
Class
- UrlGeneratorTest
Namespace
Symfony\Component\Routing\Tests\Generator
Code
protected function getRoutes($name, Route $route) {
$routes = new RouteCollection();
$routes
->add($name, $route);
return $routes;
}