You are here

public function NullMatcherDumper::getRoutes in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Routing/NullMatcherDumper.php \Drupal\Core\Routing\NullMatcherDumper::getRoutes()
  2. 10 core/lib/Drupal/Core/Routing/NullMatcherDumper.php \Drupal\Core\Routing\NullMatcherDumper::getRoutes()

Gets the routes to match.

Return value

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

File

core/lib/Drupal/Core/Routing/NullMatcherDumper.php, line 54

Class

NullMatcherDumper
Does not dump Route information.

Namespace

Drupal\Core\Routing

Code

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