REDROOM
PHP 8.3.31
Path:
Logout
Edit File
Size: 3.33 KB
Close
/home/getspomw/royalsquad.us/vendor/symfony/http-kernel/Attribute/Cache.php
Text
Base64
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\HttpKernel\Attribute; /** * Describes the default HTTP cache headers on controllers. * Headers defined in the Cache attribute are ignored if they are already set * by the controller. * * @see https://symfony.com/doc/current/http_cache.html#making-your-responses-http-cacheable * * @author Fabien Potencier <fabien@symfony.com> */ #[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD | \Attribute::TARGET_FUNCTION)] final class Cache { public function __construct( /** * The expiration date as a valid date for the strtotime() function. */ public ?string $expires = null, /** * The number of seconds that the response is considered fresh by a private * cache like a web browser. */ public int|string|null $maxage = null, /** * The number of seconds that the response is considered fresh by a public * cache like a reverse proxy cache. */ public int|string|null $smaxage = null, /** * If true, the contents will be stored in a public cache and served to all * the next requests. */ public ?bool $public = null, /** * If true, the response is not served stale by a cache in any circumstance * without first revalidating with the origin. */ public bool $mustRevalidate = false, /** * Set "Vary" header. * * Example: * ['Accept-Encoding', 'User-Agent'] * * @see https://symfony.com/doc/current/http_cache/cache_vary.html * * @var string[] */ public array $vary = [], /** * An expression to compute the Last-Modified HTTP header. * * The expression is evaluated by the ExpressionLanguage component, it * receives all the request attributes and the resolved controller arguments. * * The result of the expression must be a DateTimeInterface. */ public ?string $lastModified = null, /** * An expression to compute the ETag HTTP header. * * The expression is evaluated by the ExpressionLanguage component, it * receives all the request attributes and the resolved controller arguments. * * The result must be a string that will be hashed. */ public ?string $etag = null, /** * max-stale Cache-Control header * It can be expressed in seconds or with a relative time format (1 day, 2 weeks, ...). */ public int|string|null $maxStale = null, /** * stale-while-revalidate Cache-Control header * It can be expressed in seconds or with a relative time format (1 day, 2 weeks, ...). */ public int|string|null $staleWhileRevalidate = null, /** * stale-if-error Cache-Control header * It can be expressed in seconds or with a relative time format (1 day, 2 weeks, ...). */ public int|string|null $staleIfError = null, ) { } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 12
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
AsController.php
623 B
lrw-rw-rw-
2025-09-17 06:53:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
AsTargetedValueResolver.php
608 B
lrw-rw-rw-
2025-09-17 06:53:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Cache.php
3.33 KB
lrw-rw-rw-
2025-09-17 06:53:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
error_log
5.91 KB
lrw-r--r--
2026-04-26 09:57:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
MapDateTime.php
1.25 KB
lrw-rw-rw-
2025-09-17 06:53:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
MapQueryParameter.php
1.82 KB
lrw-rw-rw-
2025-09-17 06:53:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
MapQueryString.php
1.75 KB
lrw-rw-rw-
2025-09-17 06:53:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
MapRequestPayload.php
2.11 KB
lrw-rw-rw-
2025-09-17 06:53:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
MapUploadedFile.php
1.04 KB
lrw-rw-rw-
2025-09-17 06:53:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ValueResolver.php
967 B
lrw-rw-rw-
2025-09-17 06:53:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
WithHttpStatus.php
790 B
lrw-rw-rw-
2025-09-17 06:53:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
WithLogLevel.php
841 B
lrw-rw-rw-
2025-09-17 06:53:22
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).