function KernelPreHandle::__construct

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php \Drupal\Core\StackMiddleware\KernelPreHandle::__construct()
  2. 10 core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php \Drupal\Core\StackMiddleware\KernelPreHandle::__construct()
  3. 9 core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php \Drupal\Core\StackMiddleware\KernelPreHandle::__construct()
  4. 8.9.x core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php \Drupal\Core\StackMiddleware\KernelPreHandle::__construct()

File

core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php, line 16

Class

KernelPreHandle
Prepares the environment after page caching ran.

Namespace

Drupal\Core\StackMiddleware

Code

public function __construct(protected HttpKernelInterface $httpKernel, protected DrupalKernelInterface $drupalKernel, protected RequestStack $requestStack) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.