class ChainAdapter implements AdapterInterface
Chains several adapters together.
Cached items are fetched from the first adapter having them in its data store. They are saved and deleted in all adapters at once.
__construct(array $adapters, int $maxLifetime) | ||
getItem($key) {@inheritdoc} | ||
getItems(array $keys = array()) {@inheritdoc} | ||
hasItem($key) {@inheritdoc} | ||
clear() {@inheritdoc} | ||
deleteItem($key) {@inheritdoc} | ||
deleteItems(array $keys) {@inheritdoc} | ||
save(CacheItemInterface $item) {@inheritdoc} | ||
saveDeferred(CacheItemInterface $item) {@inheritdoc} | ||
commit() {@inheritdoc} |
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Cache/Adapter/ChainAdapter.html