Data

class Data

Methods

__construct(array $data)
array getRawData()
Data withMaxDepth(int $maxDepth)

Returns a depth limited clone of $this.

Data withMaxItemsPerDepth(int $maxItemsPerDepth)

Limits the number of elements per depth level.

Data withRefHandles(bool $useRefHandles)

Enables/disables objects' identifiers tracking.

dump(DumperInterface $dumper)

Dumps data with a DumperInterface dumper.

Details

__construct(array $data)

Parameters

array $data A array as returned by ClonerInterface::cloneVar()

array getRawData()

Return Value

array The raw data structure

Data withMaxDepth(int $maxDepth)

Returns a depth limited clone of $this.

Parameters

int $maxDepth The max dumped depth level

Return Value

Data A clone of $this

Data withMaxItemsPerDepth(int $maxItemsPerDepth)

Limits the number of elements per depth level.

Parameters

int $maxItemsPerDepth The max number of items dumped per depth level

Return Value

Data A clone of $this

Data withRefHandles(bool $useRefHandles)

Enables/disables objects' identifiers tracking.

Parameters

bool $useRefHandles False to hide global ref. handles

Return Value

Data A clone of $this

dump(DumperInterface $dumper)

Dumps data with a DumperInterface dumper.

Parameters

DumperInterface $dumper
doc_Symfony
2016-10-28 06:12:57
Comments
Leave a Comment

Please login to continue.