Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CacheableNotAcceptableHttpException.php

function CacheableNotAcceptableHttpException::__construct

Overrides NotAcceptableHttpException::__construct

File

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

Class

CacheableNotAcceptableHttpException
A cacheable NotAcceptableHttpException.

Namespace

Drupal\Core\Http\Exception

Code

public function __construct(CacheableDependencyInterface $cacheability, $message = '', ?\Exception $previous = NULL, $code = 0) {
    $this->setCacheability($cacheability);
    parent::__construct($message, $previous, $code);
}
RSS feed
Powered by Drupal