function NullMatcherDumper::getRoutes

Same name in other branches
  1. 9 core/lib/Drupal/Core/Routing/NullMatcherDumper.php \Drupal\Core\Routing\NullMatcherDumper::getRoutes()
  2. 8.9.x core/lib/Drupal/Core/Routing/NullMatcherDumper.php \Drupal\Core\Routing\NullMatcherDumper::getRoutes()
  3. 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 55

Class

NullMatcherDumper
Does not dump Route information.

Namespace

Drupal\Core\Routing

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.