PHP Class Bolt\Profiler\DatabaseDataCollector

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

Méthodes publiques

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

Private Methods

Méthode Description
trim ( array $queries )

Method Details

__construct() public méthode

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

collect() public méthode

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

getName() public méthode

public getName ( )

getQueries() public méthode

public getQueries ( )

getQueryCount() public méthode

public getQueryCount ( )

getTime() public méthode

public getTime ( )