public function CacheableLengthRequiredHttpException::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Http/Exception/CacheableLengthRequiredHttpException.php \Drupal\Core\Http\Exception\CacheableLengthRequiredHttpException::__construct()
- 10 core/lib/Drupal/Core/Http/Exception/CacheableLengthRequiredHttpException.php \Drupal\Core\Http\Exception\CacheableLengthRequiredHttpException::__construct()
File
- core/
lib/ Drupal/ Core/ Http/ Exception/ CacheableLengthRequiredHttpException.php, line 19
Class
- CacheableLengthRequiredHttpException
- A cacheable LengthRequiredHttpException.
Namespace
Drupal\Core\Http\ExceptionCode
public function __construct(CacheableDependencyInterface $cacheability, $message = NULL, \Exception $previous = NULL, $code = 0) {
$this
->setCacheability($cacheability);
parent::__construct($message, $previous, $code);
}