TypedItem
final class TypedItem implements CacheItemInterface (View source)
A cache item.
Methods
__construct(string $key)
No description
string
getKey()
{@inheritdoc}
mixed
get()
{@inheritdoc}
bool
isHit()
{@inheritdoc}
expiresAfter($time)
{@inheritdoc}
currentTime()
No description
Details
__construct(string $key)
No description
string
getKey()
{@inheritdoc}
mixed
get()
{@inheritdoc}
bool
isHit()
{@inheritdoc}
TypedItem
set(mixed $value)
{@inheritdoc}
TypedItem
expiresAt($expiration)
{@inheritdoc}
TypedItem
expiresAfter($time)
{@inheritdoc}
protected DateTime
currentTime()
No description