PHP 클래스 Symfony\Component\HttpKernel\DataCollector\ConfigDataCollector

저자: Fabien Potencier ([email protected])
상속: extends DataCollector
파일 보기 프로젝트 열기: symfony/symfony 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $name = null, string $version = null ) Constructor.
collect ( Request $request, Response $response, Exception $exception = null )
getAppName ( ) : string Gets the application name.
getApplicationName ( )
getApplicationVersion ( )
getBundles ( )
getEnv ( ) : string Gets the environment.
getName ( )
getPhpArchitecture ( ) : integer
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 Gets the token.
hasApcu ( ) : boolean Returns true if APCu is enabled.
hasXDebug ( ) : boolean Returns true if the XDebug is enabled.
hasZendOpcache ( ) : boolean Returns true if Zend OPcache is enabled.
isDebug ( ) : boolean Returns true if the debug is enabled.
setKernel ( Symfony\Component\HttpKernel\KernelInterface $kernel = null ) Sets the Kernel associated with this Request.

비공개 메소드들

메소드 설명
determineSymfonyState ( ) : string Tries to retrieve information about the current Symfony version.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( string $name = null, string $version = null )
$name string The name of the application using the web profiler
$version string The version of the application using the web profiler

collect() 공개 메소드

public collect ( Request $request, Response $response, Exception $exception = null )
$request Symfony\Component\HttpFoundation\Request
$response Symfony\Component\HttpFoundation\Response
$exception Exception

getAppName() 공개 메소드

Gets the application name.
public getAppName ( ) : string
리턴 string The application name

getApplicationName() 공개 메소드

public getApplicationName ( )

getApplicationVersion() 공개 메소드

getBundles() 공개 메소드

public getBundles ( )

getEnv() 공개 메소드

Gets the environment.
public getEnv ( ) : string
리턴 string The environment

getName() 공개 메소드

public getName ( )

getPhpArchitecture() 공개 메소드

public getPhpArchitecture ( ) : integer
리턴 integer The PHP architecture as number of bits (e.g. 32 or 64)

getPhpIntlLocale() 공개 메소드

public getPhpIntlLocale ( ) : string
리턴 string

getPhpTimezone() 공개 메소드

public getPhpTimezone ( ) : string
리턴 string

getPhpVersion() 공개 메소드

Gets the PHP version.
public getPhpVersion ( ) : string
리턴 string The PHP version

getPhpVersionExtra() 공개 메소드

Gets the PHP version extra part.
public getPhpVersionExtra ( ) : string | null
리턴 string | null The extra part

getSapiName() 공개 메소드

Gets the PHP SAPI name.
public getSapiName ( ) : string
리턴 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
리턴 string

getSymfonyEom() 공개 메소드

Returns the human redable date when this Symfony version ends its maintenance period.
public getSymfonyEom ( ) : string
리턴 string

getSymfonyMinorVersion() 공개 메소드

Returns the minor Symfony version used (without patch numbers of extra suffix like "RC", "beta", etc.).
public getSymfonyMinorVersion ( ) : string
리턴 string

getSymfonyState() 공개 메소드

Returns the state of the current Symfony release.
public getSymfonyState ( ) : string
리턴 string One of: unknown, dev, stable, eom, eol

getSymfonyVersion() 공개 메소드

Gets the Symfony version.
public getSymfonyVersion ( ) : string
리턴 string The Symfony version

getToken() 공개 메소드

Gets the token.
public getToken ( ) : string
리턴 string The token

hasApcu() 공개 메소드

Returns true if APCu is enabled.
public hasApcu ( ) : boolean
리턴 boolean true if APCu is enabled, false otherwise

hasXDebug() 공개 메소드

Returns true if the XDebug is enabled.
public hasXDebug ( ) : boolean
리턴 boolean true if XDebug is enabled, false otherwise

hasZendOpcache() 공개 메소드

Returns true if Zend OPcache is enabled.
public hasZendOpcache ( ) : boolean
리턴 boolean true if Zend OPcache is enabled, false otherwise

isDebug() 공개 메소드

Returns true if the debug is enabled.
public isDebug ( ) : boolean
리턴 boolean true if debug is enabled, false otherwise

setKernel() 공개 메소드

Sets the Kernel associated with this Request.
public setKernel ( Symfony\Component\HttpKernel\KernelInterface $kernel = null )
$kernel Symfony\Component\HttpKernel\KernelInterface A KernelInterface instance