ConfigDataCollector
extends DataCollector
in package
implements
LateDataCollectorInterface
DataCollector.
Tags
Table of Contents
Interfaces
- LateDataCollectorInterface
- LateDataCollectorInterface.
Properties
Methods
- __sleep() : array<string|int, mixed>
- __wakeup() : mixed
- collect() : mixed
- {@inheritdoc}
- getBundles() : mixed
- getEnv() : string
- Gets the environment.
- getName() : string
- {@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 readable date when this Symfony version reaches its "end of life" and won't receive bugs or security fixes.
- getSymfonyEom() : string
- Returns the human readable 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 as one of: unknown, dev, stable, eom, eol.
- 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|string
- Returns true if the debug is enabled.
- isSymfonyLts() : bool
- lateCollect() : mixed
- Collects data as late as possible.
- reset() : mixed
- {@inheritdoc}
- setKernel() : mixed
- Sets the Kernel associated with this Request.
- cloneVar() : Data
- Converts the variable into a serializable Data instance.
- getCasters() : array<string|int, callable>
- determineSymfonyState() : string
Properties
$data
protected
array<string|int, mixed>|Data
$data
= []
$cloner
private
mixed
$cloner
$kernel
private
mixed
$kernel
Methods
__sleep()
public
__sleep() : array<string|int, mixed>
Return values
array<string|int, mixed>__wakeup()
public
__wakeup() : mixed
collect()
{@inheritdoc}
public
collect(Request $request, Response $response[, Throwable $exception = null ]) : mixed
Parameters
getBundles()
public
getBundles() : mixed
getEnv()
Gets the environment.
public
getEnv() : string
Return values
stringgetName()
{@inheritdoc}
public
getName() : string
Return values
stringgetPhpArchitecture()
public
getPhpArchitecture() : int
Return values
intgetPhpIntlLocale()
public
getPhpIntlLocale() : string
Return values
stringgetPhpTimezone()
public
getPhpTimezone() : string
Return values
stringgetPhpVersion()
Gets the PHP version.
public
getPhpVersion() : string
Return values
stringgetPhpVersionExtra()
Gets the PHP version extra part.
public
getPhpVersionExtra() : string|null
Return values
string|nullgetSapiName()
Gets the PHP SAPI name.
public
getSapiName() : string
Return values
stringgetSymfonyEol()
Returns the human readable date when this Symfony version reaches its "end of life" and won't receive bugs or security fixes.
public
getSymfonyEol() : string
Return values
stringgetSymfonyEom()
Returns the human readable date when this Symfony version ends its maintenance period.
public
getSymfonyEom() : string
Return values
stringgetSymfonyMinorVersion()
Returns the minor Symfony version used (without patch numbers of extra suffix like "RC", "beta", etc.).
public
getSymfonyMinorVersion() : string
Return values
stringgetSymfonyState()
Returns the state of the current Symfony release as one of: unknown, dev, stable, eom, eol.
public
getSymfonyState() : string
Return values
stringgetSymfonyVersion()
Gets the Symfony version.
public
getSymfonyVersion() : string
Return values
stringgetToken()
Gets the token.
public
getToken() : string|null
Return values
string|nullhasApcu()
Returns true if APCu is enabled.
public
hasApcu() : bool
Return values
boolhasXDebug()
Returns true if the XDebug is enabled.
public
hasXDebug() : bool
Return values
boolhasZendOpcache()
Returns true if Zend OPcache is enabled.
public
hasZendOpcache() : bool
Return values
boolisDebug()
Returns true if the debug is enabled.
public
isDebug() : bool|string
Return values
bool|string —true if debug is enabled, false otherwise or a string if no kernel was set
isSymfonyLts()
public
isSymfonyLts() : bool
Return values
boollateCollect()
Collects data as late as possible.
public
lateCollect() : mixed
reset()
{@inheritdoc}
public
reset() : mixed
setKernel()
Sets the Kernel associated with this Request.
public
setKernel([KernelInterface $kernel = null ]) : mixed
Parameters
- $kernel : KernelInterface = null
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
DatagetCasters()
protected
getCasters() : array<string|int, callable>
Return values
array<string|int, callable> —The casters to add to the cloner
determineSymfonyState()
private
determineSymfonyState() : string