public function MatcherDumper::getRoutes

Same name in this branch
  1. 9.x drupal/core/lib/Drupal/Core/Routing/MatcherDumper.php \Drupal\Core\Routing\MatcherDumper::getRoutes()
  2. 9.x drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Matcher/Dumper/MatcherDumper.php \Symfony\Component\Routing\Matcher\Dumper\MatcherDumper::getRoutes()

Gets the routes to dump.

Return value

RouteCollection A RouteCollection instance

Overrides MatcherDumperInterface::getRoutes

1 call to MatcherDumper::getRoutes()
PhpMatcherDumper::generateMatchMethod in drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Matcher/Dumper/PhpMatcherDumper.php
Generates the code for the match method implementing UrlMatcherInterface.

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Matcher/Dumper/MatcherDumper.php, line 38

Class

MatcherDumper
MatcherDumper is the abstract class for all built-in matcher dumpers.

Namespace

Symfony\Component\Routing\Matcher\Dumper

Code

public function getRoutes() {
  return $this->routes;
}