W3cubDocs

/Symfony 4.1

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