Spec-Zone.ru › Symfony 4.1

ArrayAdapter

class ArrayAdapter implements AdapterInterface, LoggerAwareInterface, ResettableInterface

Свойства

ArrayTrait
LoggerAwareTrait

Методы

array getValues()

Возвращает все кэшированные значения, в случае промаха возвращает null.

из ArrayTrait
hasItem($key)

{@inheritdoc}

из ArrayTrait
clear()

{@inheritdoc}

из ArrayTrait
deleteItem($key)

{@inheritdoc}

из ArrayTrait
reset()

{@inheritdoc}

из ArrayTrait
__construct(int $defaultLifetime = 0, bool $storeSerialized = true)
CacheItem getItem($key)

{@inheritdoc}

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

{@inheritdoc}

deleteItems(array $keys)

{@inheritdoc}

save(CacheItemInterface $item)

{@inheritdoc}

saveDeferred(CacheItemInterface $item)

{@inheritdoc}

commit()

{@inheritdoc}

Подробности

array getValues()

Возвращает все кэшированные значения, в случае промаха возвращает null.

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

array

hasItem($key)

{@inheritdoc}

Параметры

$key

clear()

{@inheritdoc}

deleteItem($key)

{@inheritdoc}

Параметры

$key

reset()

{@inheritdoc}

__construct(int $defaultLifetime = 0, bool $storeSerialized = true)

Параметры

int $defaultLifetime
bool $storeSerialized Отключение сериализации может привести к повреждению кэша при хранении изменяемых значений, но в противном случае увеличивает производительность

CacheItem getItem($key)

{@inheritdoc}

Параметры

$key

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

CacheItem

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

{@inheritdoc}

Параметры

array $keys

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

Traversable|CacheItem[]

deleteItems(array $keys)

{@inheritdoc}

Параметры

array $keys

save(CacheItemInterface $item)

{@inheritdoc}

Параметры

CacheItemInterface $item

saveDeferred(CacheItemInterface $item)

{@inheritdoc}

Параметры

CacheItemInterface $item

commit()

{@inheritdoc}

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

Spec-Zone.ru

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