class RouteProviderLazyBuilder

A Route Provider front-end for all Drupal-stored routes.

Hierarchy

File

core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php, line 11

Namespace

Drupal\Core\Routing

Members

Name Modifiers Type Description
RouteProviderLazyBuilder::$rebuilt protected property Flag to determine if the router has been rebuilt.
RouteProviderLazyBuilder::$routeBuilder protected property The route building service.
RouteProviderLazyBuilder::$routeProvider protected property The route provider service.
RouteProviderLazyBuilder::getAllRoutes public function Returns all the routes on the system. Overrides RouteProviderInterface::getAllRoutes
RouteProviderLazyBuilder::getRouteByName public function Find the route using the provided route name. Overrides RouteProviderInterface::getRouteByName
RouteProviderLazyBuilder::getRouteCollectionForRequest public function Finds routes that may potentially match the request. Overrides RouteProviderInterface::getRouteCollectionForRequest
RouteProviderLazyBuilder::getRouteProvider protected function Gets the real route provider service and rebuilds the router id necessary.
RouteProviderLazyBuilder::getRoutesByNames public function Find many routes by their names using the provided list of names. Overrides RouteProviderInterface::getRoutesByNames
RouteProviderLazyBuilder::getRoutesByPattern public function Get all routes which match a certain pattern. Overrides RouteProviderInterface::getRoutesByPattern
RouteProviderLazyBuilder::getRoutesCount public function Determines the total amount of routes. Overrides PagedRouteProviderInterface::getRoutesCount
RouteProviderLazyBuilder::getRoutesPaged public function Find an amount of routes with an offset and possible a limit. Overrides PagedRouteProviderInterface::getRoutesPaged
RouteProviderLazyBuilder::hasRebuilt public function Determines if the router has been rebuilt.
RouteProviderLazyBuilder::preLoadRoutes public function Pre-load routes by their names using the provided list of names. Overrides PreloadableRouteProviderInterface::preLoadRoutes
RouteProviderLazyBuilder::reset public function Resets the route provider object. Overrides RouteProviderInterface::reset
RouteProviderLazyBuilder::__construct public function RouteProviderLazyBuilder constructor.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Routing!RouteProviderLazyBuilder.php/class/RouteProviderLazyBuilder/8.1.x