symfony / 3.3 / symfony / bundle / frameworkbundle / dependencyinjection / compiler / cachecollectorpass.html

CacheCollectorPass

class CacheCollectorPass implements CompilerPassInterface

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

Methods

process(ContainerBuilder $container)

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

Details

process(ContainerBuilder $container)

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

Parameters

ContainerBuilder $container