mini\Util\CacheControlHeader::withMaxTtl()
Method
public
Signature
public function withMaxTtl(int $seconds): static
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$seconds |
int |
required | Documentation missing |
Returns
static
Documentation
Cap max-age to at most the given value
If current max-age is lower, keeps the lower value. If no max-age set, sets it to the given value.