class DoctrineDataCollector extends DataCollector

DoctrineDataCollector.

Methods

serialize()

No description

unserialize($data)

No description

__construct(ManagerRegistry $registry)

No description

addLogger(string $name, DebugStack $logger)

Adds the stack logger for a connection.

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

Collects data for the given Request and Response.

getManagers()

No description

getConnections()

No description

getQueryCount()

No description

getQueries()

No description

getTime()

No description

string
getName()

Returns the name of the collector.

Details

in DataCollector at line line 33
serialize()

in DataCollector at line line 38
unserialize($data)

Parameters

$data

at line line 33
__construct(ManagerRegistry $registry)

Parameters

ManagerRegistry $registry

at line line 46
addLogger(string $name, DebugStack $logger)

Adds the stack logger for a connection.

Parameters

string $name
DebugStack $logger

at line line 54
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

at line line 68
getManagers()

at line line 73
getConnections()

at line line 78
getQueryCount()

at line line 83
getQueries()

at line line 88
getTime()

at line line 103
string getName()

Returns the name of the collector.

Return Value

string The collector name