function CacheItemInterface::expiresAt
Sets the expiration time for this cache item.
Parameters
?\DateTimeInterface $expiration: The point in time after which the item MUST be considered expired. If null is passed explicitly, a default value MAY be used. If none is set, the value should be stored permanently or for as long as the implementation allows.
Return value
static The called object.
File
-
vendor/
psr/ cache/ src/ CacheItemInterface.php, line 89
Class
- CacheItemInterface
- CacheItemInterface defines an interface for interacting with objects inside a cache.
Namespace
Psr\CacheCode
public function expiresAt(?\DateTimeInterface $expiration) : static;