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

No description

getDumpsCount()

No description

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

No description

string
getName()

Returns the name of the collector.

__destruct()

No description

Details

serialize()

unserialize($data)

Parameters

$data

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

protected callable[] getCasters()

Return Value

callable[] The casters to add to the cloner

__construct(Stopwatch $stopwatch = null, $fileLinkFormat = null, string $charset = null, RequestStack $requestStack = null, $dumper = null)

Parameters

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

__clone()

dump(Data $data)

Parameters

Data $data

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

Collects data for the given Request and Response.

Parameters

Request $request
Response $response
Exception $exception

reset()

getDumpsCount()

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

Parameters

$format
$maxDepthLimit
$maxItemsPerDepth

string getName()

Returns the name of the collector.

Return Value

string The collector name

__destruct()