PropelDataCollector

class PropelDataCollector extends DataCollector

The PropelDataCollector collector class collects information.

Methods

serialize() from DataCollector
unserialize($data) from DataCollector
__construct(PropelLogger $logger, PropelConfiguration $propelConfiguration)

Constructor

collect(Request $request, Response $response, Exception $exception = null)

Collects data for the given Request and Response.

string getName()

Returns the collector name.

array getQueries()

Returns queries.

int getQueryCount()

Returns the query count.

float getTime()

Returns the total time of queries.

Details

serialize()

unserialize($data)

Parameters

$data

__construct(PropelLogger $logger, PropelConfiguration $propelConfiguration)

Constructor

Parameters

PropelLogger $logger A Propel logger.
PropelConfiguration $propelConfiguration The Propel configuration object.

collect(Request $request, Response $response, Exception $exception = null)

Collects data for the given Request and Response.

Parameters

Request $request A Request instance
Response $response A Response instance
Exception $exception An Exception instance

string getName()

Returns the collector name.

Return Value

string The collector name

array getQueries()

Returns queries.

Return Value

array Queries

int getQueryCount()

Returns the query count.

Return Value

int The query count

float getTime()

Returns the total time of queries.

Return Value

float The total time of queries
doc_Symfony
2016-10-28 06:27:36
Comments
Leave a Comment

Please login to continue.