PHP Class Bolt\Profiler\DatabaseDataCollector

Author: Christophe Coevoet ([email protected])
Inheritance: extends Symfony\Component\HttpKernel\DataCollector\DataCollector
Exibir arquivo Open project: bolt/bolt Class Usage Examples

Public Methods

Method Description
__construct ( Doctrine\DBAL\Logging\DebugStack $logger )
collect ( Request $request, Response $response, Exception $exception = null )
getName ( )
getQueries ( )
getQueryCount ( )
getTime ( )

Private Methods

Method Description
trim ( array $queries )

Method Details

__construct() public method

public __construct ( Doctrine\DBAL\Logging\DebugStack $logger )
$logger Doctrine\DBAL\Logging\DebugStack

collect() public method

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

getName() public method

public getName ( )

getQueries() public method

public getQueries ( )

getQueryCount() public method

public getQueryCount ( )

getTime() public method

public getTime ( )