CacheItem
final class CacheItem implements CacheItemInterface (View source)
Methods
__construct(string $key, mixed $value = null, bool $hit = false, DateTimeImmutable|null $expiresAt = null)
getKey()
string
get()
mixed
isHit()
bool
expiresAt(DateTimeInterface|null $expiration)
expiresAfter(DateInterval|int|null $time)
DateTimeImmutable|null
Details
__construct
__construct(string $key, mixed $value = null, bool $hit = false, DateTimeImmutable|null $expiresAt = null)
No description
getKey
string
getKey()
No description
get
mixed
get()
No description
isHit
bool
isHit()
No description