Spec-Zone.ru › Symfony 4.1

TraceableTagAwareAdapter

class TraceableTagAwareAdapter extends TraceableAdapter implements TagAwareAdapterInterface

Свойства

protected $pool из TraceableAdapter

Методы

__construct(AdapterInterface $pool)
CacheItem getItem($key)

{@inheritdoc}

из TraceableAdapter
hasItem($key)

{@inheritdoc}

из TraceableAdapter
deleteItem($key)

{@inheritdoc}

из TraceableAdapter
save(CacheItemInterface $item)

{@inheritdoc}

из TraceableAdapter
saveDeferred(CacheItemInterface $item)

{@inheritdoc}

из TraceableAdapter
Traversable|CacheItem[] getItems(array $keys = array())

{@inheritdoc}

из TraceableAdapter
clear()

{@inheritdoc}

из TraceableAdapter
deleteItems(array $keys)

{@inheritdoc}

из TraceableAdapter
commit()

{@inheritdoc}

из TraceableAdapter
bool prune() из TraceableAdapter
reset() из TraceableAdapter
getCalls() из TraceableAdapter
clearCalls() из TraceableAdapter
start($name) из TraceableAdapter
bool invalidateTags(array $tags)

Деактивирует кэшированные элементы с использованием тегов.

Подробное описание

__construct(AdapterInterface $pool)

Параметры

AdapterInterface $pool

CacheItem getItem($key)

{@inheritdoc}

Параметры

$key

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

CacheItem

hasItem($key)

{@inheritdoc}

Параметры

$key

deleteItem($key)

{@inheritdoc}

Параметры

$key

save(CacheItemInterface $item)

{@inheritdoc}

Параметры

CacheItemInterface $item

saveDeferred(CacheItemInterface $item)

{@inheritdoc}

Параметры

CacheItemInterface $item

Traversable|CacheItem[] getItems(array $keys = array())

{@inheritdoc}

Параметры

array $keys

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

Traversable|CacheItem[]

clear()

{@inheritdoc}

deleteItems(array $keys)

{@inheritdoc}

Параметры

array $keys

commit()

{@inheritdoc}

bool prune()

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

bool

reset()

getCalls()

clearCalls()

protected start($name)

Параметры

$name

bool invalidateTags(array $tags)

Деактивирует кэшированные элементы с использованием тегов.

Параметры

array $tags Массив тегов для деактивации

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

bool True при успехе

Исключения

InvalidArgumentException Если $tags недействительны

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

Spec-Zone.ru

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