class TraceableCache implements CacheInterface, PruneableInterface, ResettableInterface
An adapter that collects data about all cache calls.
| __construct(CacheInterface $pool) | ||
| get($key, $default = null) {@inheritdoc} | ||
| has($key) {@inheritdoc} | ||
| delete($key) {@inheritdoc} | ||
| set($key, $value, $ttl = null) {@inheritdoc} | ||
| setMultiple($values, $ttl = null) {@inheritdoc} | ||
| getMultiple($keys, $default = null) {@inheritdoc} | ||
| clear() {@inheritdoc} | ||
| deleteMultiple($keys) {@inheritdoc} | ||
| bool | prune() | |
| reset() | ||
| getCalls() |
| CacheInterface | $pool |
{@inheritdoc}
| $key | ||
| $default |
{@inheritdoc}
| $key |
{@inheritdoc}
| $key |
{@inheritdoc}
| $key | ||
| $value | ||
| $ttl |
{@inheritdoc}
| $values | ||
| $ttl |
{@inheritdoc}
| $keys | ||
| $default |
{@inheritdoc}
{@inheritdoc}
| $keys |
| bool |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Cache/Simple/TraceableCache.html