YamlReferenceDumper
in package
Dumps a Yaml reference configuration for the given configuration/node instance.
Tags
Table of Contents
Properties
- $reference : string|null
Methods
- dump() : mixed
- dumpAtPath() : mixed
- dumpNode() : mixed
- getPrototypeChildren() : array<string|int, mixed>
- writeArray() : mixed
- writeLine() : mixed
- Outputs a single config reference line.
- writeNode() : mixed
Properties
$reference
private
string|null
$reference
= null
Methods
dump()
public
dump(ConfigurationInterface $configuration) : mixed
Parameters
- $configuration : ConfigurationInterface
dumpAtPath()
public
dumpAtPath(ConfigurationInterface $configuration, string $path) : mixed
Parameters
- $configuration : ConfigurationInterface
- $path : string
dumpNode()
public
dumpNode(NodeInterface $node) : mixed
Parameters
- $node : NodeInterface
getPrototypeChildren()
private
getPrototypeChildren(PrototypedArrayNode $node) : array<string|int, mixed>
Parameters
- $node : PrototypedArrayNode
Return values
array<string|int, mixed>writeArray()
private
writeArray(array<string|int, mixed> $array, int $depth) : mixed
Parameters
- $array : array<string|int, mixed>
- $depth : int
writeLine()
Outputs a single config reference line.
private
writeLine(string $text[, int $indent = 0 ]) : mixed
Parameters
- $text : string
- $indent : int = 0
writeNode()
private
writeNode(NodeInterface $node[, NodeInterface $parentNode = null ][, int $depth = 0 ][, bool $prototypedArray = false ]) : mixed
Parameters
- $node : NodeInterface
- $parentNode : NodeInterface = null
- $depth : int = 0
- $prototypedArray : bool = false