class RouteBuilder

Managing class for rebuilding the router table.

Because this class makes use of the modules system, it cannot currently be unit tested.

Hierarchy

Expanded class hierarchy of RouteBuilder

1 string reference to 'RouteBuilder'
1 service uses RouteBuilder

File

drupal/core/lib/Drupal/Core/Routing/RouteBuilder.php, line 25
Definition of Drupal\Core\Routing\RouteBuilder.

Namespace

Drupal\Core\Routing
View source

Members

Namesort descending Modifiers Type Description Overrides
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 extension handler for retieving the list of enabled modules.
RouteBuilder::rebuild public function Rebuilds the route info and dumps to dumper.
RouteBuilder::__construct public function Construcs the RouteBuilder using the passed MatcherDumperInterface.