Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. StackedHttpKernel.php

function 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\StackMiddleware

Code

public function __construct(HttpKernelInterface $kernel, array $middlewares) {
    $this->kernel = $kernel;
    $this->middlewares = $middlewares;
}
RSS feed
Powered by Drupal