Cloner\Data (Component\VarDumper)
Symfony\Component\VarDumper\Cloner\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 numbers of elements per depth level. | |
Data | withRefHandles(bool $useRefHandles) Enables/disables objects' identifiers tracking. | |
dump(DumperInterface $dumper) Dumps data with a DumperInterface dumper. |
Details
public __construct(array $data)
public array getRawData()
public Data withMaxDepth(int $maxDepth)
Returns a depth limited clone of $this.
public Data withMaxItemsPerDepth(int $maxItemsPerDepth)
Limits the numbers of elements per depth level.
public Data withRefHandles(bool $useRefHandles)
Enables/disables objects' identifiers tracking.
public dump(DumperInterface $dumper)
Dumps data with a DumperInterface dumper.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/VarDumper/Cloner/Data.html