DumpDataCollector

class DumpDataCollector extends DataCollector implements DataDumperInterface

Methods

serialize()
unserialize($data)
__construct(Stopwatch $stopwatch = null, $fileLinkFormat = null, $charset = null, RequestStack $requestStack = null, DataDumperInterface $dumper = null)
__clone()
dump(Data $data)

Dumps a Data object.

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

Collects data for the given Request and Response.

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, $charset = null, RequestStack $requestStack = null, DataDumperInterface $dumper = null)

Parameters

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

__clone()

dump(Data $data)

Dumps a Data object.

Parameters

Data $data A Data object

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

Collects data for the given Request and Response.

Parameters

Request $request A Request instance
Response $response A Response instance
Exception $exception An Exception instance

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/2.7/Symfony/Component/HttpKernel/DataCollector/DumpDataCollector.html