Spec-Zone.ru › Symfony 3.2

ArrayAdapter

class ArrayAdapter implements AdapterInterface, LoggerAwareInterface

Свойства

LoggerAwareTrait

Методы

__construct(int $defaultLifetime, bool $storeSerialized = true)
getItem($key)

{@inheritdoc}

getItems(array $keys = array())

{@inheritdoc}

массив getValues()

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

hasItem($key)

{@inheritdoc}

clear()

{@inheritdoc}

deleteItem($key)

{@inheritdoc}

deleteItems(array $keys)

{@inheritdoc}

save(CacheItemInterface $item)

{@inheritdoc}

saveDeferred(CacheItemInterface $item)

{@inheritdoc}

commit()

{@inheritdoc}

Подробности

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

Параметры

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

getItem($key)

{@inheritdoc}

Параметры

$key

getItems(array $keys = array())

{@inheritdoc}

Параметры

массив $keys

массив getValues()

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

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

массив

hasItem($key)

{@inheritdoc}

Параметры

$key

clear()

{@inheritdoc}

deleteItem($key)

{@inheritdoc}

Параметры

$key

deleteItems(array $keys)

{@inheritdoc}

Параметры

массив $keys

save(CacheItemInterface $item)

{@inheritdoc}

Параметры

CacheItemInterface $item

saveDeferred(CacheItemInterface $item)

{@inheritdoc}

Параметры

CacheItemInterface $item

commit()

{@inheritdoc}

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

Spec-Zone.ru

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