class PartialCacheCollector extends DataCollector implements Renderable, AssetProvider (View source)

Collects data about the partial cache hits and misses during a SilverStripe request

Properties

protected static array $templateCache

Contains a list of all partial caches found.

Methods

public
getName()

No description

public
getAssets()

No description

public
collect()

No description

public
getWidgets()

No description

public static 
array
getTemplateCache()

No description

public static 
addTemplateCache(string $key, array $item)

Adds an item to the templateCache array

public static 
setTemplateCache(array $templateCache)

No description

Details

getName()

No description

getAssets()

No description

collect()

No description

getWidgets()

No description

static array getTemplateCache()

No description

Return Value

array

static addTemplateCache(string $key, array $item)

Adds an item to the templateCache array

Parameters

string $key
array $item

static setTemplateCache(array $templateCache)

No description

Parameters

array $templateCache