Documentation

ConfigDataCollector extends DataCollector
in package
implements LateDataCollectorInterface

DataCollector.

Tags
author

Fabien Potencier fabien@symfony.com

Interfaces, Classes and Traits

LateDataCollectorInterface
LateDataCollectorInterface.

Table of Contents

$data  : array<string|int, mixed>|Data
$cloner  : ClonerInterface
$hasVarDumper  : mixed
$kernel  : KernelInterface
$name  : mixed
$valueExporter  : ValueExporter
$version  : mixed
__construct()  : mixed
collect()  : mixed
{@inheritdoc}
getApplicationName()  : mixed
getApplicationVersion()  : mixed
getAppName()  : string
Gets the application name.
getBundles()  : mixed
getEnv()  : string
Gets the environment.
getName()  : mixed
{@inheritdoc}
getPhpArchitecture()  : int
getPhpIntlLocale()  : string
getPhpTimezone()  : string
getPhpVersion()  : string
Gets the PHP version.
getPhpVersionExtra()  : string|null
Gets the PHP version extra part.
getSapiName()  : string
Gets the PHP SAPI name.
getSymfonyEol()  : string
Returns the human redable date when this Symfony version reaches its "end of life" and won't receive bugs or security fixes.
getSymfonyEom()  : string
Returns the human redable date when this Symfony version ends its maintenance period.
getSymfonyMinorVersion()  : string
Returns the minor Symfony version used (without patch numbers of extra suffix like "RC", "beta", etc.).
getSymfonyState()  : string
Returns the state of the current Symfony release.
getSymfonyVersion()  : string
Gets the Symfony version.
getToken()  : string|null
Gets the token.
hasApcu()  : bool
Returns true if APCu is enabled.
hasXDebug()  : bool
Returns true if the XDebug is enabled.
hasZendOpcache()  : bool
Returns true if Zend OPcache is enabled.
isDebug()  : bool
Returns true if the debug is enabled.
lateCollect()  : mixed
Collects data as late as possible.
reset()  : mixed
{@inheritdoc}
serialize()  : mixed
setKernel()  : mixed
Sets the Kernel associated with this Request.
unserialize()  : mixed
cloneVar()  : Data
Converts the variable into a serializable Data instance.
getCasters()  : array<string|int, callable>
varToString()  : string
Converts a PHP variable to a string.
determineSymfonyState()  : string
Tries to retrieve information about the current Symfony version.

Properties

Methods

__construct()

public __construct([string $name = null ][, string $version = null ]) : mixed
Parameters
$name : string = null

The name of the application using the web profiler

$version : string = null

The version of the application using the web profiler

Return values
mixed

getApplicationVersion()

public getApplicationVersion() : mixed
Return values
mixed

getAppName()

Gets the application name.

public getAppName() : string
Return values
string

The application name

getEnv()

Gets the environment.

public getEnv() : string
Return values
string

The environment

getPhpArchitecture()

public getPhpArchitecture() : int
Return values
int

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

getPhpVersion()

Gets the PHP version.

public getPhpVersion() : string
Return values
string

The PHP version

getPhpVersionExtra()

Gets the PHP version extra part.

public getPhpVersionExtra() : string|null
Return values
string|null

The extra part

getSapiName()

Gets the PHP SAPI name.

public getSapiName() : string
Return values
string

The environment

getSymfonyEol()

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

public getSymfonyEol() : string
Return values
string

getSymfonyEom()

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

public getSymfonyEom() : string
Return values
string

getSymfonyMinorVersion()

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

public getSymfonyMinorVersion() : string
Return values
string

getSymfonyState()

Returns the state of the current Symfony release.

public getSymfonyState() : string
Return values
string

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

getSymfonyVersion()

Gets the Symfony version.

public getSymfonyVersion() : string
Return values
string

The Symfony version

getToken()

Gets the token.

public getToken() : string|null
Return values
string|null

The token

hasApcu()

Returns true if APCu is enabled.

public hasApcu() : bool
Return values
bool

true if APCu is enabled, false otherwise

hasXDebug()

Returns true if the XDebug is enabled.

public hasXDebug() : bool
Return values
bool

true if XDebug is enabled, false otherwise

hasZendOpcache()

Returns true if Zend OPcache is enabled.

public hasZendOpcache() : bool
Return values
bool

true if Zend OPcache is enabled, false otherwise

isDebug()

Returns true if the debug is enabled.

public isDebug() : bool
Return values
bool

true if debug is enabled, false otherwise

lateCollect()

Collects data as late as possible.

public lateCollect() : mixed
Return values
mixed

serialize()

public serialize() : mixed
Return values
mixed

unserialize()

public unserialize(mixed $data) : mixed
Parameters
$data : mixed
Return values
mixed

cloneVar()

Converts the variable into a serializable Data instance.

protected cloneVar(mixed $var) : Data

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

Parameters
$var : mixed
Return values
Data

getCasters()

protected getCasters() : array<string|int, callable>
Return values
array<string|int, callable>

The casters to add to the cloner

varToString()

Converts a PHP variable to a string.

protected varToString(mixed $var) : string
Parameters
$var : mixed

A PHP variable

Tags
deprecated

since version 3.2, to be removed in 4.0. Use cloneVar() instead.

Return values
string

The string representation of the variable

determineSymfonyState()

Tries to retrieve information about the current Symfony version.

private determineSymfonyState() : string
Return values
string

One of: dev, stable, eom, eol

Search results