function Router::getRouteCollection
Same name in this branch
- 11.1.x core/lib/Drupal/Core/Routing/Router.php \Drupal\Core\Routing\Router::getRouteCollection()
Overrides RouterInterface::getRouteCollection
4 calls to Router::getRouteCollection()
- Router::getGenerator in vendor/
symfony/ routing/ Router.php - Gets the UrlGenerator instance associated with this Router.
- Router::getGeneratorDumperInstance in vendor/
symfony/ routing/ Router.php - Router::getMatcher in vendor/
symfony/ routing/ Router.php - Gets the UrlMatcher or RequestMatcher instance associated with this Router.
- Router::getMatcherDumperInstance in vendor/
symfony/ routing/ Router.php
File
-
vendor/
symfony/ routing/ Router.php, line 140
Class
- Router
- The Router class is an example of the integration of all pieces of the routing system for easier use.
Namespace
Symfony\Component\RoutingCode
public function getRouteCollection() : RouteCollection {
return $this->collection ??= $this->loader
->load($this->resource, $this->options['resource_type']);
}