class ConfigDataCollector extends DataCollector implements LateDataCollectorInterface
protected | $data | from DataCollector |
serialize() | from DataCollector | |
unserialize($data) | from DataCollector | |
Data | cloneVar(mixed $var) Converts the variable into a serializable Data instance. | from DataCollector |
callable[] | getCasters() | from DataCollector |
__construct(string $name = null, string $version = null) | ||
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() Resets this data collector to its initial state. | ||
lateCollect() Collects data as late as possible. | ||
getApplicationName() | ||
getApplicationVersion() | ||
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() | |
string | getPhpIntlLocale() | |
string | getPhpTimezone() | |
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() | ||
string | getSapiName() Gets the PHP SAPI name. | |
string | getName() Returns the name of the collector. |
$data |
Converts the variable into a serializable Data instance.
This array can be displayed in the template using the VarDumper component.
mixed | $var |
Data |
callable[] | The casters to add to the cloner |
string | $name | The name of the application using the web profiler |
string | $version | The version of the application using the web profiler |
Sets the Kernel associated with this Request.
KernelInterface | $kernel |
Collects data for the given Request and Response.
Request | $request | |
Response | $response | |
Exception | $exception |
Resets this data collector to its initial state.
Collects data as late as possible.
Gets the token.
string | The token |
Gets the Symfony version.
string | The Symfony version |
Returns the state of the current Symfony release.
string | One of: unknown, dev, stable, eom, eol |
Returns the minor Symfony version used (without patch numbers of extra suffix like "RC", "beta", etc.).
string |
Returns the human redable date when this Symfony version ends its maintenance period.
string |
Returns the human redable date when this Symfony version reaches its "end of life" and won't receive bugs or security fixes.
string |
Gets the PHP version.
string | The PHP version |
Gets the PHP version extra part.
string|null | The extra part |
int | The PHP architecture as number of bits (e.g. 32 or 64) |
string |
string |
Gets the application name.
string | The application name |
Gets the environment.
string | The environment |
Returns true if the debug is enabled.
bool | true if debug is enabled, false otherwise |
Returns true if the XDebug is enabled.
bool | true if XDebug is enabled, false otherwise |
Returns true if APCu is enabled.
bool | true if APCu is enabled, false otherwise |
Returns true if Zend OPcache is enabled.
bool | true if Zend OPcache is enabled, false otherwise |
Gets the PHP SAPI name.
string | The environment |
Returns the name of the collector.
string | The collector name |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/HttpKernel/DataCollector/ConfigDataCollector.html