RouteBuilder::$dispatcher

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Routing/RouteBuilder.php \Drupal\Core\Routing\RouteBuilder::dispatcher
  2. 10 core/lib/Drupal/Core/Routing/RouteBuilder.php \Drupal\Core\Routing\RouteBuilder::dispatcher
  3. 11.x core/lib/Drupal/Core/Routing/RouteBuilder.php \Drupal\Core\Routing\RouteBuilder::dispatcher

The event dispatcher to notify of routes.

Type: \Symfony\Contracts\EventDispatcher\EventDispatcherInterface

File

core/lib/Drupal/Core/Routing/RouteBuilder.php, line 40

Class

RouteBuilder
Managing class for rebuilding the router table.

Namespace

Drupal\Core\Routing

Code

protected $dispatcher;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.