class Psr6Cache implements CacheInterface, PruneableInterface, ResettableInterface

Traits

Constants

METADATA_EXPIRY_OFFSET

Methods

prune()

{@inheritdoc}

reset()

{@inheritdoc}

__construct(CacheItemPoolInterface $pool)

No description

get($key, $default = null)

{@inheritdoc}

set($key, $value, $ttl = null)

{@inheritdoc}

delete($key)

{@inheritdoc}

clear()

{@inheritdoc}

getMultiple($keys, $default = null)

{@inheritdoc}

setMultiple($values, $ttl = null)

{@inheritdoc}

deleteMultiple($keys)

{@inheritdoc}

has($key)

{@inheritdoc}

Details

prune()

{@inheritdoc}

reset()

{@inheritdoc}

__construct(CacheItemPoolInterface $pool)

Parameters

CacheItemPoolInterface $pool

get($key, $default = null)

{@inheritdoc}

Parameters

$key
$default

set($key, $value, $ttl = null)

{@inheritdoc}

Parameters

$key
$value
$ttl

delete($key)

{@inheritdoc}

Parameters

$key

clear()

{@inheritdoc}

getMultiple($keys, $default = null)

{@inheritdoc}

Parameters

$keys
$default

setMultiple($values, $ttl = null)

{@inheritdoc}

Parameters

$values
$ttl

deleteMultiple($keys)

{@inheritdoc}

Parameters

$keys

has($key)

{@inheritdoc}

Parameters

$key