class ConfigDataCollector extends DataCollector

Methods

serialize()

No description

unserialize($data)

No description

__construct(string $name = null, string $version = null)

No description

setKernel(KernelInterface $kernel = null)

Sets the Kernel associated with this Request.

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

Collects data for the given Request and Response.

getApplicationName()

No description

getApplicationVersion()

No description

string
getToken()

Gets the token.

string
getSymfonyVersion()

Gets the Symfony version.

string
getSymfonyState()

Returns the state of the current Symfony release.

setCacheVersionInfo($cacheVersionInfo)

No description

string
getPhpVersion()

Gets the PHP version.

string
getAppName()

Gets the application name.

string
getEnv()

Gets the environment.

bool
isDebug()

Returns true if the debug is enabled.

bool
hasXDebug()

Returns true if the XDebug is enabled.

bool
hasEAccelerator()

Returns true if EAccelerator is enabled.

bool
hasApc()

Returns true if APC is enabled.

bool
hasZendOpcache()

Returns true if Zend OPcache is enabled.

bool
hasXCache()

Returns true if XCache is enabled.

bool
hasWinCache()

Returns true if WinCache is enabled.

bool
hasAccelerator()

Returns true if any accelerator is enabled.

getBundles()

No description

string
getSapiName()

Gets the PHP SAPI name.

string
getName()

Returns the name of the collector.

Details

in DataCollector at line line 33
serialize()

in DataCollector at line line 38
unserialize($data)

Parameters

$data

at line line 35
__construct(string $name = null, string $version = null)

Parameters

string $name The name of the application using the web profiler
string $version The version of the application using the web profiler

at line line 44
setKernel(KernelInterface $kernel = null)

Sets the Kernel associated with this Request.

Parameters

KernelInterface $kernel

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

Collects data for the given Request and Response.

Parameters

Request $request
Response $response
Exception $exception

at line line 83
getApplicationName()

at line line 88
getApplicationVersion()

at line line 98
string getToken()

Gets the token.

Return Value

string The token

at line line 108
string getSymfonyVersion()

Gets the Symfony version.

Return Value

string The Symfony version

at line line 118
string getSymfonyState()

Returns the state of the current Symfony release.

Return Value

string One of: unknown, dev, stable, eom, eol

at line line 123
setCacheVersionInfo($cacheVersionInfo)

Parameters

$cacheVersionInfo

at line line 133
string getPhpVersion()

Gets the PHP version.

Return Value

string The PHP version

at line line 143
string getAppName()

Gets the application name.

Return Value

string The application name

at line line 153
string getEnv()

Gets the environment.

Return Value

string The environment

at line line 163
bool isDebug()

Returns true if the debug is enabled.

Return Value

bool true if debug is enabled, false otherwise

at line line 173
bool hasXDebug()

Returns true if the XDebug is enabled.

Return Value

bool true if XDebug is enabled, false otherwise

at line line 183
bool hasEAccelerator()

Returns true if EAccelerator is enabled.

Return Value

bool true if EAccelerator is enabled, false otherwise

at line line 193
bool hasApc()

Returns true if APC is enabled.

Return Value

bool true if APC is enabled, false otherwise

at line line 203
bool hasZendOpcache()

Returns true if Zend OPcache is enabled.

Return Value

bool true if Zend OPcache is enabled, false otherwise

at line line 213
bool hasXCache()

Returns true if XCache is enabled.

Return Value

bool true if XCache is enabled, false otherwise

at line line 223
bool hasWinCache()

Returns true if WinCache is enabled.

Return Value

bool true if WinCache is enabled, false otherwise

at line line 233
bool hasAccelerator()

Returns true if any accelerator is enabled.

Return Value

bool true if any accelerator is enabled, false otherwise

at line line 238
getBundles()

at line line 248
string getSapiName()

Gets the PHP SAPI name.

Return Value

string The environment

at line line 256
string getName()

Returns the name of the collector.

Return Value

string The collector name