public function HandlerStackConfigurator::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Http/HandlerStackConfigurator.php \Drupal\Core\Http\HandlerStackConfigurator::__construct()
Constructs 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 53
Class
- HandlerStackConfigurator
- Defines a class for configuring middlewares on the http handler stack.
Namespace
Drupal\Core\HttpCode
public function __construct(ContainerInterface $container, array $middleware_ids) {
$this->middlewareIds = $middleware_ids;
$this->container = $container;
}