Psr6Cache

class Psr6Cache implements CacheInterface, PruneableInterface, ResettableInterface

Traits

ProxyTrait

Methods

prune()

{@inheritdoc}

from ProxyTrait
reset()

{@inheritdoc}

from ProxyTrait
__construct(CacheItemPoolInterface $pool)
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

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Cache/Simple/Psr6Cache.html