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

Breadcrumb

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

function CacheableTooManyRequestsHttpException::__construct

Overrides TooManyRequestsHttpException::__construct

File

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

Class

CacheableTooManyRequestsHttpException
A cacheable TooManyRequestsHttpException.

Namespace

Drupal\Core\Http\Exception

Code

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