function MatcherDumper::getRoutes
Same name in this branch
- 11.1.x vendor/symfony/routing/Matcher/Dumper/MatcherDumper.php \Symfony\Component\Routing\Matcher\Dumper\MatcherDumper::getRoutes()
- 11.1.x core/lib/Drupal/Core/ProxyClass/Routing/MatcherDumper.php \Drupal\Core\ProxyClass\Routing\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
-
core/
lib/ Drupal/ Core/ Routing/ MatcherDumper.php, line 170
Class
- MatcherDumper
- Dumps Route information to a database table.
Namespace
Drupal\Core\RoutingCode
public function getRoutes() : RouteCollection {
return $this->routes;
}