class CacheCollectorPass implements CompilerPassInterface

Inject a data collector to all the cache services to be able to get detailed statistics.

Methods

__construct(string $dataCollectorCacheId = 'data_collector.cache', string $cachePoolTag = 'cache.pool', string $cachePoolRecorderInnerSuffix = '.recorder_inner')

No description

process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Details

__construct(string $dataCollectorCacheId = 'data_collector.cache', string $cachePoolTag = 'cache.pool', string $cachePoolRecorderInnerSuffix = '.recorder_inner')

Parameters

string $dataCollectorCacheId
string $cachePoolTag
string $cachePoolRecorderInnerSuffix

process(ContainerBuilder $container)

You can modify the container here before it is dumped to PHP code.

Parameters

ContainerBuilder $container