public function RouteBuilder::__construct

Construcs the RouteBuilder using the passed MatcherDumperInterface.

Parameters

\Symfony\Component\Routing\Matcher\Dumper\MatcherDumperInterface $dumper: The matcher dumper used to store the route information.

\Drupal\Core\Lock\LockBackendInterface $lock: The lock backend.

\Symfony\Component\EventDispatcherEventDispatcherInterface: The event dispatcher to notify of routes.

File

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

Class

RouteBuilder
Managing class for rebuilding the router table.

Namespace

Drupal\Core\Routing

Code

public function __construct(MatcherDumperInterface $dumper, LockBackendInterface $lock, EventDispatcherInterface $dispatcher) {
  $this->dumper = $dumper;
  $this->lock = $lock;
  $this->dispatcher = $dispatcher;
}