PHP Class Contao\CoreBundle\DataCollector\ContaoDataCollector

Inheritance: extends Symfony\Component\HttpKernel\DataCollector\DataCollector, use trait Contao\CoreBundle\Framework\FrameworkAwareTrait, use trait Contao\CoreBundle\Framework\ScopeAwareTrait
Show file Open project: contao/core-bundle Class Usage Examples

Public Methods

Method Description
__construct ( array $packages ) Constructor.
collect ( Request $request, Response $response, Exception $exception = null )
getAdditionalData ( ) : array Returns the additional data added by unknown sources.
getClassesAliased ( ) : array Returns the aliased classes.
getClassesComposerized ( ) : array Returns the composerized classes.
getClassesSet ( ) : array Returns the set classes.
getContaoVersion ( ) : string Returns the Contao version and build number.
getName ( )
getSummary ( ) : array Returns the summary.

Private Methods

Method Description
addSummaryData ( ) Adds the summary data.
getData ( string $key ) : array Returns the debug data as array.
getLayout ( ) : LayoutModel | null Returns the layout model (front end only).
getLayoutName ( ) : string Returns the page layout name (front end only).
getTemplateName ( ) : string Returns the template name (front end only).

Method Details

__construct() public method

Constructor.
public __construct ( array $packages )
$packages array

collect() public method

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

getAdditionalData() public method

Returns the additional data added by unknown sources.
public getAdditionalData ( ) : array
return array

getClassesAliased() public method

Returns the aliased classes.
public getClassesAliased ( ) : array
return array

getClassesComposerized() public method

Returns the composerized classes.
public getClassesComposerized ( ) : array
return array

getClassesSet() public method

Returns the set classes.
public getClassesSet ( ) : array
return array

getContaoVersion() public method

Returns the Contao version and build number.
public getContaoVersion ( ) : string
return string

getName() public method

public getName ( )

getSummary() public method

Returns the summary.
public getSummary ( ) : array
return array