function StackedHttpKernel::__construct
Same name in other branches
- 10 core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php \Drupal\Core\StackMiddleware\StackedHttpKernel::__construct()
Constructs a stacked HTTP kernel.
Parameters
\Symfony\Component\HttpKernel\HttpKernelInterface $kernel: The decorated kernel.
array $middlewares: An array of previous middleware services.
File
-
core/
lib/ Drupal/ Core/ StackMiddleware/ StackedHttpKernel.php, line 42
Class
- StackedHttpKernel
- Provides a stacked HTTP kernel.
Namespace
Drupal\Core\StackMiddlewareCode
public function __construct(HttpKernelInterface $kernel, array $middlewares) {
$this->kernel = $kernel;
$this->middlewares = $middlewares;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.