PHP Class Common\DataCollector\DatabaseDataCollector

Inheritance: extends Symfony\Component\HttpKernel\DataCollector\DataCollector
Exibir arquivo Open project: forkcms/forkcms

Public Methods

Method Description
__construct ( SpoonDatabase $database ) DatabaseDataCollector constructor.
collect ( Request $request, Response $response, Exception $exception = null )
getName ( ) : string
getQueries ( ) : mixed
getQueryCount ( ) : mixed

Method Details

__construct() public method

DatabaseDataCollector constructor.
public __construct ( SpoonDatabase $database )
$database SpoonDatabase

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 ( ) : string
return string

getQueries() public method

public getQueries ( ) : mixed
return mixed

getQueryCount() public method

public getQueryCount ( ) : mixed
return mixed