You are here

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

Returns the router object.

Return value

\Drupal\drupalmoduleupgrader\Converter\Routing\RouterInterface

File

src/Routing/RouterBuiltEvent.php, line 30

Class

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

Namespace

Drupal\drupalmoduleupgrader\Routing

Code

public function getRouter() {
  return $this->router;
}