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 match.

Return value

\Symfony\Component\Routing\RouteCollection A RouteCollection instance representing all routes currently in the dumper.

Overrides MatcherDumperInterface::getRoutes

File

drupal/core/lib/Drupal/Core/Routing/MatcherDumper.php, line 144
Definition of Drupal\Core\Routing\MatcherDumper.

Class

MatcherDumper
Dumps Route information to a database table.

Namespace

Drupal\Core\Routing

Code

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