class ConfigDataCollector extends DataCollector implements LateDataCollectorInterface

ConfigDataCollector.

Methods

serialize()

No description

unserialize($data)

No description

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

Constructor.

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.

lateCollect()

Collects data as late as possible.

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.

string
getSymfonyMinorVersion()

Returns the minor Symfony version used (without patch numbers of extra suffix like "RC", "beta", etc.).

string
getSymfonyEom()

Returns the human redable date when this Symfony version ends its maintenance period.

string
getSymfonyEol()

Returns the human redable date when this Symfony version reaches its "end of life" and won't receive bugs or security fixes.

string
getPhpVersion()

Gets the PHP version.

string|null
getPhpVersionExtra()

Gets the PHP version extra part.

int
getPhpArchitecture()

No description

string
getPhpIntlLocale()

No description

string
getPhpTimezone()

No description

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
hasApcu()

Returns true if APCu is enabled.

bool
hasZendOpcache()

Returns true if Zend OPcache 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 44
serialize()

in DataCollector at line line 49
unserialize($data)

Parameters

$data

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

Constructor.

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 53
setKernel(KernelInterface $kernel = null)

Sets the Kernel associated with this Request.

Parameters

KernelInterface $kernel A KernelInterface instance

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

Collects data for the given Request and Response.

Parameters

Request $request A Request instance
Response $response A Response instance
Exception $exception An Exception instance

at line line 102
lateCollect()

Collects data as late as possible.

at line line 107
getApplicationName()

at line line 112
getApplicationVersion()

at line line 122
string getToken()

Gets the token.

Return Value

string The token

at line line 132
string getSymfonyVersion()

Gets the Symfony version.

Return Value

string The Symfony version

at line line 142
string getSymfonyState()

Returns the state of the current Symfony release.

Return Value

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

at line line 153
string getSymfonyMinorVersion()

Returns the minor Symfony version used (without patch numbers of extra suffix like "RC", "beta", etc.).

Return Value

string

at line line 164
string getSymfonyEom()

Returns the human redable date when this Symfony version ends its maintenance period.

Return Value

string

at line line 175
string getSymfonyEol()

Returns the human redable date when this Symfony version reaches its "end of life" and won't receive bugs or security fixes.

Return Value

string

at line line 185
string getPhpVersion()

Gets the PHP version.

Return Value

string The PHP version

at line line 195
string|null getPhpVersionExtra()

Gets the PHP version extra part.

Return Value

string|null The extra part

at line line 203
int getPhpArchitecture()

Return Value

int The PHP architecture as number of bits (e.g. 32 or 64)

at line line 211
string getPhpIntlLocale()

Return Value

string

at line line 219
string getPhpTimezone()

Return Value

string

at line line 229
string getAppName()

Gets the application name.

Return Value

string The application name

at line line 239
string getEnv()

Gets the environment.

Return Value

string The environment

at line line 249
bool isDebug()

Returns true if the debug is enabled.

Return Value

bool true if debug is enabled, false otherwise

at line line 259
bool hasXDebug()

Returns true if the XDebug is enabled.

Return Value

bool true if XDebug is enabled, false otherwise

at line line 269
bool hasApcu()

Returns true if APCu is enabled.

Return Value

bool true if APCu is enabled, false otherwise

at line line 279
bool hasZendOpcache()

Returns true if Zend OPcache is enabled.

Return Value

bool true if Zend OPcache is enabled, false otherwise

at line line 284
getBundles()

at line line 294
string getSapiName()

Gets the PHP SAPI name.

Return Value

string The environment

at line line 302
string getName()

Returns the name of the collector.

Return Value

string The collector name