You are here

public function CacheableGoneHttpException::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Http/Exception/CacheableGoneHttpException.php \Drupal\Core\Http\Exception\CacheableGoneHttpException::__construct()
  2. 10 core/lib/Drupal/Core/Http/Exception/CacheableGoneHttpException.php \Drupal\Core\Http\Exception\CacheableGoneHttpException::__construct()

File

core/lib/Drupal/Core/Http/Exception/CacheableGoneHttpException.php, line 19

Class

CacheableGoneHttpException
A cacheable GoneHttpException.

Namespace

Drupal\Core\Http\Exception

Code

public function __construct(CacheableDependencyInterface $cacheability, $message = NULL, \Exception $previous = NULL, $code = 0) {
  $this
    ->setCacheability($cacheability);
  parent::__construct($message, $previous, $code);
}