class EventDataCollector extends DataCollector implements LateDataCollectorInterface

EventDataCollector.

Methods

serialize()

No description

unserialize($data)

No description

__construct(EventDispatcherInterface $dispatcher = null)

No description

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

Collects data for the given Request and Response.

reset()

Resets this data collector to its initial state.

lateCollect()

Collects data as late as possible.

setCalledListeners(array $listeners)

Sets the called listeners.

array
getCalledListeners()

Gets the called listeners.

setNotCalledListeners(array $listeners)

Sets the not called listeners.

array
getNotCalledListeners()

Gets the not called listeners.

setOrphanedEvents(array $events)

Sets the orphaned events.

array
getOrphanedEvents()

Gets the orphaned events.

string
getName()

Returns the name of the collector.

Details

in DataCollector at line line 37
serialize()

in DataCollector at line line 42
unserialize($data)

Parameters

$data

at line line 29
__construct(EventDispatcherInterface $dispatcher = null)

Parameters

EventDispatcherInterface $dispatcher

at line line 37
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 line 46
reset()

Resets this data collector to its initial state.

at line line 55
lateCollect()

Collects data as late as possible.

at line line 76
setCalledListeners(array $listeners)

Sets the called listeners.

Parameters

array $listeners An array of called listeners

See also

TraceableEventDispatcher

at line line 88
array getCalledListeners()

Gets the called listeners.

Return Value

array An array of called listeners

See also

TraceableEventDispatcher

at line line 100
setNotCalledListeners(array $listeners)

Sets the not called listeners.

Parameters

array $listeners

See also

TraceableEventDispatcher

at line line 112
array getNotCalledListeners()

Gets the not called listeners.

Return Value

array

See also

TraceableEventDispatcher

at line line 124
setOrphanedEvents(array $events)

Sets the orphaned events.

Parameters

array $events An array of orphaned events

See also

TraceableEventDispatcher

at line line 136
array getOrphanedEvents()

Gets the orphaned events.

Return Value

array An array of orphaned events

See also

TraceableEventDispatcher

at line line 144
string getName()

Returns the name of the collector.

Return Value

string The collector name