class ArrayAdapter implements AdapterInterface, LoggerAwareInterface, ResettableInterface
ArrayTrait | |
LoggerAwareTrait |
array | getValues() Returns all cached values, with cache miss as null. | from ArrayTrait |
hasItem($key) {@inheritdoc} | from ArrayTrait | |
clear() {@inheritdoc} | from ArrayTrait | |
deleteItem($key) {@inheritdoc} | from ArrayTrait | |
reset() {@inheritdoc} | from 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} |
Returns all cached values, with cache miss as null.
array |
{@inheritdoc}
$key |
{@inheritdoc}
{@inheritdoc}
$key |
{@inheritdoc}
int | $defaultLifetime | |
bool | $storeSerialized | Disabling serialization can lead to cache corruptions when storing mutable values but increases performance otherwise |
{@inheritdoc}
$key |
CacheItem |
{@inheritdoc}
array | $keys |
Traversable|CacheItem[] |
{@inheritdoc}
array | $keys |
{@inheritdoc}
CacheItemInterface | $item |
{@inheritdoc}
CacheItemInterface | $item |
{@inheritdoc}
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Cache/Adapter/ArrayAdapter.html