XmlReferenceDumper
in package
Dumps an XML reference configuration for the given configuration/node instance.
Tags
Table of Contents
Properties
- $reference : string|null
Methods
- dump() : string
- dumpNode() : string
- writeLine() : void
- Outputs a single config reference line.
- writeNode() : void
- writeValue() : string
- Renders the string conversion of the value.
Properties
$reference
private
string|null
$reference
= null
Methods
dump()
public
dump(ConfigurationInterface $configuration[, string|null $namespace = null ]) : string
Parameters
- $configuration : ConfigurationInterface
- $namespace : string|null = null
Return values
stringdumpNode()
public
dumpNode(NodeInterface $node[, string|null $namespace = null ]) : string
Parameters
- $node : NodeInterface
- $namespace : string|null = null
Return values
stringwriteLine()
Outputs a single config reference line.
private
writeLine(string $text[, int $indent = 0 ]) : void
Parameters
- $text : string
- $indent : int = 0
writeNode()
private
writeNode(NodeInterface $node[, int $depth = 0 ][, bool $root = false ][, string|null $namespace = null ]) : void
Parameters
- $node : NodeInterface
- $depth : int = 0
- $root : bool = false
- $namespace : string|null = null
writeValue()
Renders the string conversion of the value.
private
writeValue(mixed $value) : string
Parameters
- $value : mixed