You are here

public function MatcherDumper::getRoutes in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/symfony/routing/Matcher/Dumper/MatcherDumper.php \Symfony\Component\Routing\Matcher\Dumper\MatcherDumper::getRoutes()
  2. 8.0 core/lib/Drupal/Core/Routing/MatcherDumper.php \Drupal\Core\Routing\MatcherDumper::getRoutes()
  3. 8.0 core/lib/Drupal/Core/ProxyClass/Routing/MatcherDumper.php \Drupal\Core\ProxyClass\Routing\MatcherDumper::getRoutes()
Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/ProxyClass/Routing/MatcherDumper.php \Drupal\Core\ProxyClass\Routing\MatcherDumper::getRoutes()

Gets the routes to dump.

Return value

RouteCollection A RouteCollection instance

Overrides MatcherDumperInterface::getRoutes

File

core/lib/Drupal/Core/ProxyClass/Routing/MatcherDumper.php, line 94
Contains \Drupal\Core\ProxyClass\Routing\MatcherDumper.

Class

MatcherDumper
Provides a proxy class for \Drupal\Core\Routing\MatcherDumper.

Namespace

Drupal\Core\ProxyClass\Routing

Code

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