DataCollector\ConfigDataCollector (Component\HttpKernel)
Symfony\Component\HttpKernel\DataCollector\ConfigDataCollector
class ConfigDataCollector extends DataCollector
ConfigDataCollector.
Methods
serialize() | from DataCollector | |
unserialize($data) | from DataCollector | |
__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. | ||
getApplicationName() | ||
getApplicationVersion() | ||
string | getToken() Gets the token. | |
string | getSymfonyVersion() Gets the Symfony version. | |
string | getSymfonyState() Returns the state of the current Symfony release. | |
setCacheVersionInfo($cacheVersionInfo) | ||
string | getPhpVersion() Gets the PHP version. | |
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 | hasEAccelerator() Returns true if EAccelerator is enabled. | |
bool | hasApc() Returns true if APC is enabled. | |
bool | hasZendOpcache() Returns true if Zend OPcache is enabled. | |
bool | hasXCache() Returns true if XCache is enabled. | |
bool | hasWinCache() Returns true if WinCache is enabled. | |
bool | hasAccelerator() Returns true if any accelerator is enabled. | |
getBundles() | ||
string | getSapiName() Gets the PHP SAPI name. | |
string | getName() Returns the name of the collector. |
Details
public serialize()
public unserialize($data)
public __construct(string $name = null, string $version = null)
Constructor.
public setKernel(KernelInterface $kernel = null)
Sets the Kernel associated with this Request.
public collect(Request $request, Response $response, Exception $exception = null)
Collects data for the given Request and Response.
public getApplicationName()
public getApplicationVersion()
public string getToken()
Gets the token.
public string getSymfonyVersion()
Gets the Symfony version.
public string getSymfonyState()
Returns the state of the current Symfony release.
public setCacheVersionInfo($cacheVersionInfo)
public string getPhpVersion()
Gets the PHP version.
public string getAppName()
Gets the application name.
public string getEnv()
Gets the environment.
public bool isDebug()
Returns true if the debug is enabled.
public bool hasXDebug()
Returns true if the XDebug is enabled.
public bool hasEAccelerator()
Returns true if EAccelerator is enabled.
public bool hasApc()
Returns true if APC is enabled.
public bool hasZendOpcache()
Returns true if Zend OPcache is enabled.
public bool hasXCache()
Returns true if XCache is enabled.
public bool hasWinCache()
Returns true if WinCache is enabled.
public bool hasAccelerator()
Returns true if any accelerator is enabled.
public getBundles()
public string getSapiName()
Gets the PHP SAPI name.
public string getName()
Returns the name of the collector.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/HttpKernel/DataCollector/ConfigDataCollector.html