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

Breadcrumb

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

function Cache::__construct

Same name in this branch
  1. 11.1.x vendor/composer/composer/src/Composer/Cache.php \Composer\Cache::__construct()

File

vendor/symfony/http-kernel/Attribute/Cache.php, line 26

Class

Cache
Describes the default HTTP cache headers on controllers. Headers defined in the Cache attribute are ignored if they are already set by the controller.

Namespace

Symfony\Component\HttpKernel\Attribute

Code

public function __construct(?string $expires = null, int|string|null $maxage = null, int|string|null $smaxage = null, ?bool $public = null, bool $mustRevalidate = false, array $vary = [], ?string $lastModified = null, ?string $etag = null, int|string|null $maxStale = null, int|string|null $staleWhileRevalidate = null, int|string|null $staleIfError = null) {
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal