CacheCollectorPass
in package
implements
CompilerPassInterface
Inject a data collector to all the cache services to be able to get detailed statistics.
Tags
Table of Contents
Interfaces
- CompilerPassInterface
- Interface that must be implemented by compilation passes.
Methods
- process() : mixed
- You can modify the container here before it is dumped to PHP code.
- addToCollector() : mixed
Methods
process()
You can modify the container here before it is dumped to PHP code.
public
process(ContainerBuilder $container) : mixed
Parameters
- $container : ContainerBuilder
addToCollector()
private
addToCollector(string $id, string $name, ContainerBuilder $container) : mixed
Parameters
- $id : string
- $name : string
- $container : ContainerBuilder