class ConfigDataCollector extends DataCollector implements LateDataCollectorInterface

Properties

protected $data from DataCollector

Methods

serialize()

No description

unserialize($data)

No description

cloneVar(mixed $var)

Converts the variable into a serializable Data instance.

callable[]
getCasters()

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.

reset()

No description

lateCollect()

Collects data as late as possible.

getApplicationName() deprecated

No description

getApplicationVersion() deprecated

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

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 37
serialize()

in DataCollector at line 42
unserialize($data)

Parameters

$data

in DataCollector at line 57
protected Data cloneVar(mixed $var)

Converts the variable into a serializable Data instance.

This array can be displayed in the template using the VarDumper component.

Parameters

mixed $var

Return Value

Data

in DataCollector at line 77
protected callable[] getCasters()

Return Value

callable[] The casters to add to the cloner

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

Parameters

string $name
string $version

at line 50
setKernel(KernelInterface $kernel = null)

Sets the Kernel associated with this Request.

Parameters

KernelInterface $kernel

at line 58
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 101
reset()

at line 106
lateCollect()

Collects data as late as possible.

at line 114
getApplicationName() deprecated

deprecated since Symfony 4.2

at line 124
getApplicationVersion() deprecated

deprecated since Symfony 4.2

at line 136
string getToken()

Gets the token.

Return Value

string The token

at line 146
string getSymfonyVersion()

Gets the Symfony version.

Return Value

string The Symfony version

at line 156
string getSymfonyState()

Returns the state of the current Symfony release.

Return Value

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

at line 167
string getSymfonyMinorVersion()

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

Return Value

string

at line 178
string getSymfonyEom()

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

Return Value

string

at line 189
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 199
string getPhpVersion()

Gets the PHP version.

Return Value

string The PHP version

at line 209
string|null getPhpVersionExtra()

Gets the PHP version extra part.

Return Value

string|null The extra part

at line 217
int getPhpArchitecture()

Return Value

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

at line 225
string getPhpIntlLocale()

Return Value

string

at line 233
string getPhpTimezone()

Return Value

string

at line 245
string getAppName() deprecated

deprecated since Symfony 4.2

Gets the application name.

Return Value

string The application name

at line 257
string getEnv()

Gets the environment.

Return Value

string The environment

at line 267
bool isDebug()

Returns true if the debug is enabled.

Return Value

bool true if debug is enabled, false otherwise

at line 277
bool hasXDebug()

Returns true if the XDebug is enabled.

Return Value

bool true if XDebug is enabled, false otherwise

at line 287
bool hasApcu()

Returns true if APCu is enabled.

Return Value

bool true if APCu is enabled, false otherwise

at line 297
bool hasZendOpcache()

Returns true if Zend OPcache is enabled.

Return Value

bool true if Zend OPcache is enabled, false otherwise

at line 302
getBundles()

at line 312
string getSapiName()

Gets the PHP SAPI name.

Return Value

string The environment

at line 320
string getName()

Returns the name of the collector.

Return Value

string The collector name