class RouteBuilder
Managing class for rebuilding the router table.
Hierarchy
- class \Drupal\Core\Routing\RouteBuilder implements DestructableInterface, RouteBuilderInterface
File
- core/lib/Drupal/Core/Routing/RouteBuilder.php, line 19
Namespace
Drupal\Core\RoutingMembers
| Name | Modifiers | Type | Description | 
|---|---|---|---|
| RouteBuilder::$building | protected | property | Flag that indicates if we are currently rebuilding the routes. | 
| RouteBuilder::$checkProvider | protected | property | The check provider. | 
| RouteBuilder::$controllerResolver | protected | property | The controller resolver. | 
| RouteBuilder::$dispatcher | protected | property | The event dispatcher to notify of routes. | 
| RouteBuilder::$dumper | protected | property | The dumper to which we should send collected routes. | 
| RouteBuilder::$lock | protected | property | The used lock backend instance. | 
| RouteBuilder::$moduleHandler | protected | property | The module handler. | 
| RouteBuilder::$rebuildNeeded | protected | property | Flag that indicates if we should rebuild at the end of the request. | 
| RouteBuilder::$routeCollection | protected | property | The route collection during the rebuild. | 
| RouteBuilder::destruct | public | function | Performs destruct operations. Overrides DestructableInterface::destruct | 
| RouteBuilder::getRouteDefinitions | protected | function | Retrieves all defined routes from .routing.yml files. | 
| RouteBuilder::rebuild | public | function | Rebuilds the route information and dumps it. Overrides RouteBuilderInterface::rebuild | 
| RouteBuilder::rebuildIfNeeded | public | function | Rebuilds the route information if necessary, and dumps it. Overrides RouteBuilderInterface::rebuildIfNeeded | 
| RouteBuilder::setRebuildNeeded | public | function | Sets the router to be rebuilt next time rebuildIfNeeded() is called. Overrides RouteBuilderInterface::setRebuildNeeded | 
| RouteBuilder::__construct | public | function | Constructs the RouteBuilder using the passed MatcherDumperInterface. | 
    © 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!RouteBuilder.php/class/RouteBuilder/8.1.x