You are here

public function RouterBuiltEvent::__construct in Drupal 7 to 8/9 Module Upgrader 8

Constructs a RouterBuiltEvent object.

File

src/Routing/RouterBuiltEvent.php, line 21

Class

RouterBuiltEvent
Event object fired when all routes have been added to a RouterInterface implementation.

Namespace

Drupal\drupalmoduleupgrader\Routing

Code

public function __construct(RouterInterface $router) {
  $this->router = $router;
}