function DumperTestController::create

Same name in other branches
  1. 5.x tests/modules/devel_dumper_test/src/Controller/DumperTestController.php \Drupal\devel_dumper_test\Controller\DumperTestController::create()

Overrides ControllerBase::create

File

tests/modules/devel_dumper_test/src/Controller/DumperTestController.php, line 36

Class

DumperTestController
Class DumperTestController.

Namespace

Drupal\devel_dumper_test\Controller

Code

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