DumpDataCollector

class DumpDataCollector extends DataCollector implements DataDumperInterface

Methods

serialize()
unserialize($data)
__construct(Stopwatch $stopwatch = null, $fileLinkFormat = null, string $charset = null, RequestStack $requestStack = null, DataDumperInterface $dumper = null)
__clone()
dump(Data $data)
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()
getDumps($format, $maxDepthLimit = -1, $maxItemsPerDepth = -1)
string getName()

Returns the name of the collector.

__destruct()

Details

serialize()

unserialize($data)

Parameters

$data

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

Parameters

Stopwatch $stopwatch
$fileLinkFormat
string $charset
RequestStack $requestStack
DataDumperInterface $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()

Resets this data collector to its initial state.

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

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/HttpKernel/DataCollector/DumpDataCollector.html