class MessengerDataCollector extends DataCollector implements LateDataCollectorInterface

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

registerBus(string $name, TraceableMessageBus $bus)

No description

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

Collects data for the given Request and Response.

lateCollect()

Collects data as late as possible.

string
getName()

Returns the name of the collector.

reset()

No description

int
getExceptionsCount(string $bus = null)

No description

array
getMessages(string $bus = null)

No description

array
getBuses()

No description

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 30
registerBus(string $name, TraceableMessageBus $bus)

Parameters

string $name
TraceableMessageBus $bus

at line 38
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 46
lateCollect()

Collects data as late as possible.

at line 68
string getName()

Returns the name of the collector.

Return Value

string The collector name

at line 76
reset()

at line 110
int getExceptionsCount(string $bus = null)

Parameters

string $bus

Return Value

int

at line 120
array getMessages(string $bus = null)

Parameters

string $bus

Return Value

array

at line 131
array getBuses()

Return Value

array