class DumpDataCollector extends DataCollector implements DataDumperInterface

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(Stopwatch $stopwatch = null, $fileLinkFormat = null, string $charset = null, RequestStack $requestStack = null, $dumper = null)

No description

__clone()

No description

dump(Data $data)

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.

getDumpsCount()

No description

getDumps($format, $maxDepthLimit = -1, $maxItemsPerDepth = -1)

No description

string
getName()

Returns the name of the collector.

__destruct()

No description

Details

at line 136
serialize()

at line 152
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 46
__construct(Stopwatch $stopwatch = null, $fileLinkFormat = null, string $charset = null, RequestStack $requestStack = null, $dumper = null)

Parameters

Stopwatch $stopwatch
$fileLinkFormat
string $charset
RequestStack $requestStack
$dumper

at line 65
__clone()

at line 70
dump(Data $data)

Parameters

Data $data

at line 96
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 124
reset()

Resets this data collector to its initial state.

at line 161
getDumpsCount()

at line 166
getDumps($format, $maxDepthLimit = -1, $maxItemsPerDepth = -1)

Parameters

$format
$maxDepthLimit
$maxItemsPerDepth

at line 189
string getName()

Returns the name of the collector.

Return Value

string The collector name

at line 194
__destruct()