function Cache::__construct
Same name in this branch
- 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\AttributeCode
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) {
}