Spec-Zone.ru › Symfony 3.4

TraceableAdapter

class TraceableAdapter implements AdapterInterface, PruneableInterface, ResettableInterface

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

Методы

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

{@inheritdoc}

hasItem($key)

{@inheritdoc}

deleteItem($key)

{@inheritdoc}

save(CacheItemInterface $item)

{@inheritdoc}

saveDeferred(CacheItemInterface $item)

{@inheritdoc}

getItems(array $keys = array())

{@inheritdoc}

clear()

{@inheritdoc}

deleteItems(array $keys)

{@inheritdoc}

commit()

{@inheritdoc}

bool prune()
reset()
getCalls()

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

__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

getItems(array $keys = array())

{@inheritdoc}

return \Traversable|CacheItem[]

Параметры

array $keys

clear()

{@inheritdoc}

deleteItems(array $keys)

{@inheritdoc}

Параметры

array $keys

commit()

{@inheritdoc}

bool prune()

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

bool

reset()

getCalls()

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

Spec-Zone.ru

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