Spec-Zone.ru › Symfony 4.1

TraceableCache

class TraceableCache implements CacheInterface, PruneableInterface, ResettableInterface

Адаптер, который собирает данные обо всех вызовах к кешу.

Методы

__construct(CacheInterface $pool)
get($key, $default = null)

{@inheritdoc}

has($key)

{@inheritdoc}

delete($key)

{@inheritdoc}

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

{@inheritdoc}

setMultiple($values, $ttl = null)

{@inheritdoc}

getMultiple($keys, $default = null)

{@inheritdoc}

clear()

{@inheritdoc}

deleteMultiple($keys)

{@inheritdoc}

bool prune()
reset()
getCalls()

Подробности

__construct(CacheInterface $pool)

Параметры

CacheInterface $pool

get($key, $default = null)

{@inheritdoc}

Параметры

$key
$default

has($key)

{@inheritdoc}

Параметры

$key

delete($key)

{@inheritdoc}

Параметры

$key

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

{@inheritdoc}

Параметры

$key
$value
$ttl

setMultiple($values, $ttl = null)

{@inheritdoc}

Параметры

$values
$ttl

getMultiple($keys, $default = null)

{@inheritdoc}

Параметры

$keys
$default

clear()

{@inheritdoc}

deleteMultiple($keys)

{@inheritdoc}

Параметры

$keys

bool prune()

Возвращаемое значение

bool

reset()

getCalls()

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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API