protected function UrlGeneratorTest::getRoutes

49 calls to UrlGeneratorTest::getRoutes()

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Tests/Generator/UrlGeneratorTest.php, line 628

Class

UrlGeneratorTest

Namespace

Symfony\Component\Routing\Tests\Generator

Code

protected function getRoutes($name, Route $route) {
  $routes = new RouteCollection();
  $routes
    ->add($name, $route);
  return $routes;
}