PHP Class eZ\Bundle\EzPublishDebugBundle\Collector\EzPublishCoreCollector

Inheritance: extends Symfony\Component\HttpKernel\DataCollector\DataCollector
Datei anzeigen Open project: ezsystems/ezpublish-kernel Class Usage Examples

Public Methods

Method Description
__construct ( )
addCollector ( Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface $collector, $panelTemplate = null, $toolbarTemplate = null )
collect ( Request $request, Response $response, Exception $exception = null )
getAllCollectors ( ) : Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface[]
getCollector ( string $name ) : Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface
getName ( )
getPanelTemplate ( string $collectorName ) : string Returns panel template to use for given collector name.
getToolbarTemplate ( string $collectorName ) : string Returns toolbar template for given collector name.

Method Details

__construct() public method

public __construct ( )

addCollector() public method

public addCollector ( Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface $collector, $panelTemplate = null, $toolbarTemplate = null )
$collector Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface

collect() public method

public collect ( Request $request, Response $response, Exception $exception = null )
$request Symfony\Component\HttpFoundation\Request
$response Symfony\Component\HttpFoundation\Response
$exception Exception

getAllCollectors() public method

public getAllCollectors ( ) : Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface[]
return Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface[]

getCollector() public method

public getCollector ( string $name ) : Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface
$name string Name of the collector
return Symfony\Component\HttpKernel\DataCollector\DataCollectorInterface

getName() public method

public getName ( )

getPanelTemplate() public method

Returns panel template to use for given collector name.
public getPanelTemplate ( string $collectorName ) : string
$collectorName string Name of corresponding collector.
return string

getToolbarTemplate() public method

Returns toolbar template for given collector name.
public getToolbarTemplate ( string $collectorName ) : string
$collectorName string Name of corresponding collector.
return string