class DoctrineDataCollector extends DataCollector

DoctrineDataCollector.

Properties

protected $data from DataCollector

Methods

serialize()

No description

unserialize($data)

No description

cloneVar(mixed $var)

Converts the variable into a serializable Data instance.

callable[]
getCasters()

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.

reset()

No description

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 37
serialize()

in DataCollector at line 42
unserialize($data)

Parameters

$data

in DataCollector at line 57
protected Data cloneVar(mixed $var)

Converts the variable into a serializable Data instance.

This array can be displayed in the template using the VarDumper component.

Parameters

mixed $var

Return Value

Data

in DataCollector at line 77
protected callable[] getCasters()

Return Value

callable[] The casters to add to the cloner

at line 38
__construct(ManagerRegistry $registry)

Parameters

ManagerRegistry $registry

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

Adds the stack logger for a connection.

Parameters

string $name
DebugStack $logger

at line 59
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 73
reset()

at line 83
getManagers()

at line 88
getConnections()

at line 93
getQueryCount()

at line 98
getQueries()

at line 103
getTime()

at line 118
string getName()

Returns the name of the collector.

Return Value

string The collector name