TraceableTagAwareAdapter
class TraceableTagAwareAdapter extends TraceableAdapter implements TagAwareAdapterInterface
Properties
| protected | $pool | from TraceableAdapter |
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 | |
| Traversable|CacheItem[] | getItems(array $keys = array()) {@inheritdoc} | from TraceableAdapter |
| clear() {@inheritdoc} | from TraceableAdapter | |
| deleteItems(array $keys) {@inheritdoc} | from TraceableAdapter | |
| commit() {@inheritdoc} | from TraceableAdapter | |
| bool | prune() | from TraceableAdapter |
| reset() | from TraceableAdapter | |
| getCalls() | from TraceableAdapter | |
| clearCalls() | from TraceableAdapter | |
| start($name) | 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 |
Traversable|CacheItem[] getItems(array $keys = array())
{@inheritdoc}
Parameters
| array | $keys |
Return Value
| Traversable|CacheItem[] |
clear()
{@inheritdoc}
deleteItems(array $keys)
{@inheritdoc}
Parameters
| array | $keys |
commit()
{@inheritdoc}
bool prune()
Return Value
| bool |
reset()
getCalls()
clearCalls()
protected start($name)
Parameters
| $name |
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.
https://api.symfony.com/4.1/Symfony/Component/Cache/Adapter/TraceableTagAwareAdapter.html