class Cache
Same name in this branch
- 11.1.x vendor/composer/composer/src/Composer/Cache.php \Composer\Cache
- 11.1.x vendor/squizlabs/php_codesniffer/src/Util/Cache.php \PHP_CodeSniffer\Util\Cache
- 11.1.x core/lib/Drupal/Core/Cache/Cache.php \Drupal\Core\Cache\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.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- class \Symfony\Component\HttpKernel\Attribute\Cache
Expanded class hierarchy of Cache
See also
https://symfony.com/doc/current/http_cache.html#making-your-responses-h…
1 file declares its use of Cache
- CacheAttributeListener.php in vendor/
symfony/ http-kernel/ EventListener/ CacheAttributeListener.php
22 string references to 'Cache'
- CacheFactory::get in core/
lib/ Drupal/ Core/ Cache/ CacheFactory.php - Instantiates a cache backend class for a given cache bin.
- ChainedFastBackendFactory::__construct in core/
lib/ Drupal/ Core/ Cache/ ChainedFastBackendFactory.php - Constructs ChainedFastBackendFactory object.
- Config::printPHPCSUsage in vendor/
squizlabs/ php_codesniffer/ src/ Config.php - Prints out the usage information for PHPCS.
- Config::processLongArgument in vendor/
squizlabs/ php_codesniffer/ src/ Config.php - Processes a long (--example) command-line argument.
- Config::restoreDefaults in vendor/
squizlabs/ php_codesniffer/ src/ Config.php - Restore default values for all possible command line arguments.
File
-
vendor/
symfony/ http-kernel/ Attribute/ Cache.php, line 23
Namespace
Symfony\Component\HttpKernel\AttributeView source
final class Cache {
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) {
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
Cache::__construct | public | function |