final class Item implements CacheItemInterface (View source)

A cache item.

Methods

__construct(string $key)

No description

getKey()

{@inheritdoc}

get()

{@inheritdoc}

isHit()

{@inheritdoc}

set($value)

{@inheritdoc}

expiresAt($expiration)

{@inheritdoc}

expiresAfter($time)

{@inheritdoc}

Details

__construct(string $key)

No description

Parameters

string $key

getKey()

{@inheritdoc}

get()

{@inheritdoc}

isHit()

{@inheritdoc}

set($value)

{@inheritdoc}

Parameters

$value

expiresAt($expiration)

{@inheritdoc}

Parameters

$expiration

expiresAfter($time)

{@inheritdoc}

Parameters

$time