class DoctrineDataCollector extends DataCollector

DoctrineDataCollector.

Properties

protected $data from DataCollector

Methods

serialize()

No description

unserialize($data)

No description

string
varToString(mixed $var)

Converts a PHP variable to a string.

__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 33
serialize()

in DataCollector at line 38
unserialize($data)

Parameters

$data

in DataCollector at line 50
protected string varToString(mixed $var)

Converts a PHP variable to a string.

Parameters

mixed $var A PHP variable

Return Value

string The string representation of the variable

at line 33
__construct(ManagerRegistry $registry)

Parameters

ManagerRegistry $registry

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

Adds the stack logger for a connection.

Parameters

string $name
DebugStack $logger

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

Collects data for the given Request and Response.

Parameters

Request $request
Response $response
Exception $exception

at line 68
getManagers()

at line 73
getConnections()

at line 78
getQueryCount()

at line 83
getQueries()

at line 88
getTime()

at line 103
string getName()

Returns the name of the collector.

Return Value

string The collector name