function ContentLength::__construct
Same name in this branch
- 10 core/modules/big_pipe/src/StackMiddleware/ContentLength.php \Drupal\big_pipe\StackMiddleware\ContentLength::__construct()
Same name in other branches
- 11.x core/modules/big_pipe/src/StackMiddleware/ContentLength.php \Drupal\big_pipe\StackMiddleware\ContentLength::__construct()
- 11.x core/lib/Drupal/Core/StackMiddleware/ContentLength.php \Drupal\Core\StackMiddleware\ContentLength::__construct()
Constructs a new ContentLength instance.
Parameters
\Symfony\Component\HttpKernel\HttpKernelInterface $httpKernel: The wrapped HTTP kernel.
File
-
core/
lib/ Drupal/ Core/ StackMiddleware/ ContentLength.php, line 20
Class
- ContentLength
- Adds a Content-Length HTTP header to responses.
Namespace
Drupal\Core\StackMiddlewareCode
public function __construct(HttpKernelInterface $httpKernel) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.