function CacheableResourceNotFoundException::__construct

Same name and namespace in other branches
  1. main core/lib/Drupal/Core/Routing/Exception/CacheableResourceNotFoundException.php \Drupal\Core\Routing\Exception\CacheableResourceNotFoundException::__construct()

File

core/lib/Drupal/Core/Routing/Exception/CacheableResourceNotFoundException.php, line 19

Class

CacheableResourceNotFoundException
A cacheable ResourceNotFoundException.

Namespace

Drupal\Core\Routing\Exception

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.