You are here

public function RouteBuildEvent::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Routing/RouteBuildEvent.php \Drupal\Core\Routing\RouteBuildEvent::__construct()

Constructs a RouteBuildEvent object.

Parameters

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

File

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

Class

RouteBuildEvent
Represents route building information as event.

Namespace

Drupal\Core\Routing

Code

public function __construct(RouteCollection $route_collection) {
  $this->routeCollection = $route_collection;
}