function ContainerInfoController::create

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

Overrides ControllerBase::create

File

src/Controller/ContainerInfoController.php, line 53

Class

ContainerInfoController
Provides route responses for the container info pages.

Namespace

Drupal\devel\Controller

Code

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