You are here

public function RouteInfoController::__construct in Devel 8

Same name and namespace in other branches
  1. 8.3 src/Controller/RouteInfoController.php \Drupal\devel\Controller\RouteInfoController::__construct()
  2. 8.2 src/Controller/RouteInfoController.php \Drupal\devel\Controller\RouteInfoController::__construct()
  3. 4.x src/Controller/RouteInfoController.php \Drupal\devel\Controller\RouteInfoController::__construct()

RouterInfoController constructor.

Parameters

\Drupal\Core\Routing\RouteProviderInterface $provider: The route provider.

\Symfony\Component\Routing\RouterInterface $router: The router service.

\Drupal\devel\DevelDumperManagerInterface $dumper: The dumper service.

File

src/Controller/RouteInfoController.php, line 50

Class

RouteInfoController
Provides route responses for the route info pages.

Namespace

Drupal\devel\Controller

Code

public function __construct(RouteProviderInterface $provider, RouterInterface $router, DevelDumperManagerInterface $dumper) {
  $this->routeProvider = $provider;
  $this->router = $router;
  $this->dumper = $dumper;
}