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