public function RemoveHttpHeadersMiddleware::__construct in Remove HTTP headers 8
Constructs a RemoveHttpHeadersMiddleware object.
Parameters
\Symfony\Component\HttpKernel\HttpKernelInterface $httpKernel: The decorated kernel.
\Drupal\remove_http_headers\Config\ConfigManager $configManager: The config manager service.
File
- src/
StackMiddleware/ RemoveHttpHeadersMiddleware.php, line 40
Class
- RemoveHttpHeadersMiddleware
- Executes removal of HTTP response headers.
Namespace
Drupal\remove_http_headers\StackMiddlewareCode
public function __construct(HttpKernelInterface $httpKernel, ConfigManager $configManager) {
$this->httpKernel = $httpKernel;
$this->configManager = $configManager;
}