TraceableCache
class TraceableCache implements CacheInterface
An adapter that collects data about all cache calls.
Methods
| __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} | ||
| getCalls() |
Details
__construct(CacheInterface $pool)
Parameters
| CacheInterface | $pool |
get($key, $default = null)
{@inheritdoc}
Parameters
| $key | ||
| $default |
has($key)
{@inheritdoc}
Parameters
| $key |
delete($key)
{@inheritdoc}
Parameters
| $key |
set($key, $value, $ttl = null)
{@inheritdoc}
Parameters
| $key | ||
| $value | ||
| $ttl |
setMultiple($values, $ttl = null)
{@inheritdoc}
Parameters
| $values | ||
| $ttl |
getMultiple($keys, $default = null)
{@inheritdoc}
Parameters
| $keys | ||
| $default |
clear()
{@inheritdoc}
deleteMultiple($keys)
{@inheritdoc}
Parameters
| $keys |
getCalls()
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.3/Symfony/Component/Cache/Simple/TraceableCache.html