Class

eZ\Bundle\EzPublishDebugBundle\Collector\EzPublishCoreCollector

class EzPublishCoreCollector extends DataCollector

Methods

__construct()

collect(Request $request, Response $response, Exception $exception = null)

getName()

addCollector(DataCollectorInterface $collector, $panelTemplate = null, $toolbarTemplate = null)

DataCollectorInterface getCollector(string $name)

DataCollectorInterface[] getAllCollectors()

string getToolbarTemplate(string $collectorName)

Returns toolbar template for given collector name.

string getPanelTemplate(string $collectorName)

Returns panel template to use for given collector name.

reset()

{@inheritdoc}

Details

at line 19
public __construct()

at line 24
public collect(Request $request, Response $response, Exception $exception = null)

Parameters

Request $request
Response $response
Exception $exception

at line 32
public getName()

at line 40
public addCollector(DataCollectorInterface $collector, $panelTemplate = null, $toolbarTemplate = null)

Parameters

DataCollectorInterface $collector
$panelTemplate
$toolbarTemplate

at line 55
public DataCollectorInterface getCollector(string $name)

Parameters

string $name Name of the collector

Return Value

DataCollectorInterface

Exceptions

InvalidArgumentException

at line 67
public DataCollectorInterface[] getAllCollectors()

Return Value

DataCollectorInterface[]

at line 79
public string getToolbarTemplate(string $collectorName)

Returns toolbar template for given collector name.

Parameters

string $collectorName Name of corresponding collector.

Return Value

string

at line 95
public string getPanelTemplate(string $collectorName)

Returns panel template to use for given collector name.

Parameters

string $collectorName Name of corresponding collector.

Return Value

string

at line 107
public reset()

{@inheritdoc}