DumperCollection

class DumperCollection implements IteratorAggregate Collection of routes. Methods DumperCollection[]|DumperRoute[] all() Returns the children routes and collections. add(DumperRoute|DumperCollection $child) Adds a route or collection. setAll(array $children) Sets children. Iterator|DumperCollection[]|DumperRoute[] getIterator() Returns an iterator over the children. DumperCollection getRoot() Returns the root of the collection. bool hasAttribute(string $name) Ret

DumperCollection::add()

add(DumperRoute|DumperCollection $child) Adds a route or collection. Parameters DumperRoute|DumperCollection $child The route or collection

DumperCollection::getIterator()

Iterator|DumperCollection[]|DumperRoute[] getIterator() Returns an iterator over the children. Return Value Iterator|DumperCollection[]|DumperRoute[] The iterator

Dumper::setIndentation()

setIndentation(int $num) Sets the indentation. Parameters int $num The amount of spaces to use for indentation of nested nodes

Dumper::dump()

string dump(mixed $input, int $inline, int $indent, int $flags) Dumps a PHP value to YAML. Parameters mixed $input The PHP value int $inline The level where you switch to inline YAML int $indent The level of indentation (used internally) int $flags A bit field of Yaml::DUMP_* constants to customize the dumped YAML string Return Value string The YAML representation of the PHP value

Dumper

class Dumper Dumper dumps PHP variables to YAML strings. Methods __construct(int $indentation = 4) setIndentation(int $num) Sets the indentation. string dump(mixed $input, int $inline, int $indent, int $flags) Dumps a PHP value to YAML. Details __construct(int $indentation = 4) Parameters int $indentation setIndentation(int $num) Sets the indentation. Parameters int $num The amount of sp

DumpDataCollector::serialize()

serialize()

DumpDataCollector::getDumps()

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

DumpDataCollector::getName()

string getName() Returns the name of the collector. Return Value string The collector name

DumpDataCollector::unserialize()

unserialize($data) Parameters $data