You are here

public function HandlerStackConfigurator::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Http/HandlerStackConfigurator.php \Drupal\Core\Http\HandlerStackConfigurator::__construct()

Contructs a new HandlerStackConfigurator object.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container: The service container.

string[] $middleware_ids: The middleware IDs.

File

core/lib/Drupal/Core/Http/HandlerStackConfigurator.php, line 58
Contains \Drupal\Core\Http\HandlerStackConfigurator.

Class

HandlerStackConfigurator
Defines a class for configuring middlewares on the http handler stack.

Namespace

Drupal\Core\Http

Code

public function __construct(ContainerInterface $container, array $middleware_ids) {
  $this->middlewareIds = $middleware_ids;
  $this->container = $container;
}