function RouteBuildEvent::__construct

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Routing/RouteBuildEvent.php \Drupal\Core\Routing\RouteBuildEvent::__construct()
  2. 10 core/lib/Drupal/Core/Routing/RouteBuildEvent.php \Drupal\Core\Routing\RouteBuildEvent::__construct()
  3. 9 core/lib/Drupal/Core/Routing/RouteBuildEvent.php \Drupal\Core\Routing\RouteBuildEvent::__construct()
  4. 8.9.x core/lib/Drupal/Core/Routing/RouteBuildEvent.php \Drupal\Core\Routing\RouteBuildEvent::__construct()

Constructs a RouteBuildEvent object.

Parameters

\Symfony\Component\Routing\RouteCollection $routeCollection: The route collection.

File

core/lib/Drupal/Core/Routing/RouteBuildEvent.php, line 19

Class

RouteBuildEvent
Represents route building information as event.

Namespace

Drupal\Core\Routing

Code

public function __construct(protected RouteCollection $routeCollection) {
}

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