Documentation

EventDataCollector extends DataCollector
in package
implements LateDataCollectorInterface

DataCollector.

Tags
author

Fabien Potencier fabien@symfony.com

see
TraceableEventDispatcher
final

Table of Contents

Interfaces

LateDataCollectorInterface
LateDataCollectorInterface.

Properties

$data  : array<string|int, mixed>|Data
$cloner  : mixed
$currentRequest  : mixed
$dispatcher  : mixed
$requestStack  : mixed

Methods

__construct()  : mixed
__sleep()  : array<string|int, mixed>
__wakeup()  : mixed
collect()  : mixed
{@inheritdoc}
getCalledListeners()  : array<string|int, mixed>|Data
getName()  : string
{@inheritdoc}
getNotCalledListeners()  : array<string|int, mixed>|Data
getOrphanedEvents()  : array<string|int, mixed>|Data
lateCollect()  : mixed
Collects data as late as possible.
reset()  : mixed
setCalledListeners()  : mixed
setNotCalledListeners()  : mixed
setOrphanedEvents()  : mixed
cloneVar()  : Data
Converts the variable into a serializable Data instance.
getCasters()  : array<string|int, callable>

Properties

Methods

__sleep()

public __sleep() : array<string|int, mixed>
Return values
array<string|int, mixed>

cloneVar()

Converts the variable into a serializable Data instance.

protected cloneVar(mixed $var) : Data

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

Parameters
$var : mixed
Return values
Data

getCasters()

protected getCasters() : array<string|int, callable>
Return values
array<string|int, callable>

The casters to add to the cloner


        
On this page

Search results