Documentation

CacheCollectorPass
in package
implements CompilerPassInterface

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

Tags
author

Tobias Nyholm tobias.nyholm@gmail.com

Interfaces, Classes and Traits

CompilerPassInterface
Interface that must be implemented by compilation passes.

Table of Contents

$cachePoolRecorderInnerSuffix  : mixed
$cachePoolTag  : mixed
$dataCollectorCacheId  : mixed
__construct()  : mixed
process()  : mixed
You can modify the container here before it is dumped to PHP code.
addToCollector()  : mixed

Properties

Methods

__construct()

public __construct([string $dataCollectorCacheId = 'data_collector.cache' ][, string $cachePoolTag = 'cache.pool' ][, string $cachePoolRecorderInnerSuffix = '.recorder_inner' ]) : mixed
Parameters
$dataCollectorCacheId : string = 'data_collector.cache'
$cachePoolTag : string = 'cache.pool'
$cachePoolRecorderInnerSuffix : string = '.recorder_inner'
Return values
mixed

Search results