class TagAwareAdapter implements TagAwareAdapterInterface, PruneableInterface, ResettableInterface
ProxyTrait |
TAGS_PREFIX |
prune() {@inheritdoc} | from ProxyTrait | |
reset() {@inheritdoc} | from ProxyTrait | |
__construct(AdapterInterface $itemsPool, AdapterInterface $tagsPool = null, float $knownTagVersionsTtl = 0.15) | ||
bool | invalidateTags(array $tags) Invalidates cached items using tags. | |
hasItem($key) {@inheritdoc} | ||
CacheItem | getItem($key) {@inheritdoc} | |
Traversable|CacheItem[] | getItems(array $keys = array()) {@inheritdoc} | |
clear() {@inheritdoc} | ||
deleteItem($key) {@inheritdoc} | ||
deleteItems(array $keys) {@inheritdoc} | ||
save(CacheItemInterface $item) {@inheritdoc} | ||
saveDeferred(CacheItemInterface $item) {@inheritdoc} | ||
commit() {@inheritdoc} | ||
__destruct() |
{@inheritdoc}
{@inheritdoc}
AdapterInterface | $itemsPool | |
AdapterInterface | $tagsPool | |
float | $knownTagVersionsTtl |
Invalidates cached items using tags.
array | $tags | An array of tags to invalidate |
bool | True on success |
InvalidArgumentException | When $tags is not valid |
{@inheritdoc}
$key |
{@inheritdoc}
$key |
CacheItem |
{@inheritdoc}
array | $keys |
Traversable|CacheItem[] |
{@inheritdoc}
{@inheritdoc}
$key |
{@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/TagAwareAdapter.html