PHP Class eZ\Bundle\EzPublishDebugBundle\Collector\PersistenceCacheCollector

Inheritance: extends Symfony\Component\HttpKernel\DataCollector\DataCollector
Show file Open project: ezsystems/ezpublish-kernel

Public Methods

Method Description
__construct ( PersistenceLogger $logger )
collect ( Request $request, Response $response, Exception $exception = null )
getCalls ( ) : array Returns calls.
getCallsLoggingEnabled ( ) : boolean Returns flag to indicate if logging of calls is enabled or not.
getCount ( ) : integer Returns call count.
getHandlers ( ) : array Returns un cached handlers being loaded.
getHandlersCount ( ) : array Returns un cached handlers being loaded.
getName ( )

Method Details

__construct() public method

public __construct ( PersistenceLogger $logger )
$logger eZ\Publish\Core\Persistence\Cache\PersistenceLogger

collect() public method

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

getCalls() public method

Returns calls.
public getCalls ( ) : array
return array

getCallsLoggingEnabled() public method

Typically not enabled in prod.
public getCallsLoggingEnabled ( ) : boolean
return boolean

getCount() public method

Returns call count.
public getCount ( ) : integer
return integer

getHandlers() public method

Returns un cached handlers being loaded.
public getHandlers ( ) : array
return array

getHandlersCount() public method

Returns un cached handlers being loaded.
public getHandlersCount ( ) : array
return array

getName() public method

public getName ( )