You are here

public function WebprofilerMiddleware::__construct in Devel 8

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

Constructs a WebprofilerMiddleware object.

Parameters

\Symfony\Component\HttpKernel\HttpKernelInterface $http_kernel: The decorated kernel.

File

webprofiler/src/StackMiddleware/WebprofilerMiddleware.php, line 27

Class

WebprofilerMiddleware
Class WebprofilerMiddleware

Namespace

Drupal\webprofiler\StackMiddleware

Code

public function __construct(HttpKernelInterface $http_kernel) {
  $this->httpKernel = $http_kernel;
}