function RouteInfoController::create

Same name in other branches
  1. 5.x src/Controller/RouteInfoController.php \Drupal\devel\Controller\RouteInfoController::create()

Overrides ControllerBase::create

File

src/Controller/RouteInfoController.php, line 60

Class

RouteInfoController
Provides route responses for the route info pages.

Namespace

Drupal\devel\Controller

Code

public static function create(ContainerInterface $container) {
    return new static($container->get('router.route_provider'), $container->get('router.no_access_checks'), $container->get('devel.dumper'));
}