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