W3cubDocs

/Symfony 4.1

NullCache

class NullCache implements CacheInterface

Methods

get($key, $default = null)

{@inheritdoc}

getMultiple($keys, $default = null)

{@inheritdoc}

has($key)

{@inheritdoc}

clear()

{@inheritdoc}

delete($key)

{@inheritdoc}

deleteMultiple($keys)

{@inheritdoc}

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

{@inheritdoc}

setMultiple($values, $ttl = null)

{@inheritdoc}

Details

get($key, $default = null)

{@inheritdoc}

Parameters

$key
$default

getMultiple($keys, $default = null)

{@inheritdoc}

Parameters

$keys
$default

has($key)

{@inheritdoc}

Parameters

$key

clear()

{@inheritdoc}

delete($key)

{@inheritdoc}

Parameters

$key

deleteMultiple($keys)

{@inheritdoc}

Parameters

$keys

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

{@inheritdoc}

Parameters

$key
$value
$ttl

setMultiple($values, $ttl = null)

{@inheritdoc}

Parameters

$values
$ttl

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Cache/Simple/NullCache.html