TraceableTagAwareAdapter
class TraceableTagAwareAdapter extends TraceableAdapter implements TagAwareAdapterInterface
Methods
__construct(AdapterInterface $pool) | ||
CacheItem | getItem($key) {@inheritdoc} | from TraceableAdapter |
hasItem($key) {@inheritdoc} | from TraceableAdapter | |
deleteItem($key) {@inheritdoc} | from TraceableAdapter | |
save(CacheItemInterface $item) {@inheritdoc} | from TraceableAdapter | |
saveDeferred(CacheItemInterface $item) {@inheritdoc} | from TraceableAdapter | |
getItems(array $keys = array()) {@inheritdoc} | from TraceableAdapter | |
clear() {@inheritdoc} | from TraceableAdapter | |
deleteItems(array $keys) {@inheritdoc} | from TraceableAdapter | |
commit() {@inheritdoc} | from TraceableAdapter | |
getCalls() | from TraceableAdapter | |
bool | invalidateTags(array $tags) Invalidates cached items using tags. |
Details
__construct(AdapterInterface $pool)
Parameters
AdapterInterface | $pool |
CacheItem getItem($key)
{@inheritdoc}
Parameters
$key |
Return Value
CacheItem |
hasItem($key)
{@inheritdoc}
Parameters
$key |
deleteItem($key)
{@inheritdoc}
Parameters
$key |
save(CacheItemInterface $item)
{@inheritdoc}
Parameters
CacheItemInterface | $item |
saveDeferred(CacheItemInterface $item)
{@inheritdoc}
Parameters
CacheItemInterface | $item |
getItems(array $keys = array())
{@inheritdoc}
return \Traversable|CacheItem[]
Parameters
array | $keys |
clear()
{@inheritdoc}
deleteItems(array $keys)
{@inheritdoc}
Parameters
array | $keys |
commit()
{@inheritdoc}
getCalls()
bool invalidateTags(array $tags)
Invalidates cached items using tags.
Parameters
array | $tags | An array of tags to invalidate |
Return Value
bool | True on success |
Exceptions
InvalidArgumentException | When $tags is not valid |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/Cache/Adapter/TraceableTagAwareAdapter.html