CacheItem

CacheItem

class CacheItem implements CacheItemInterface

Methods

getKey()

{@inheritdoc}

get()

{@inheritdoc}

isHit()

{@inheritdoc}

set($value)

{@inheritdoc}

expiresAt($expiration)

{@inheritdoc}

expiresAfter($time)

{@inheritdoc}

CacheItem tag(string|string[] $tags)

Adds a tag to a cache