class NodeDefinition implements NodeParentInterface
This class provides a fluent interface for defining a node.
Methods
__construct(string $name, NodeParentInterface $parent = null) Constructor.
NodeDefinition|$this setParent(NodeParentInterface $parent) Sets the parent node.
NodeDefinition|$this info(string $info) Sets info message.
NodeDefinition|$this example(string|array $example) Sets example configuration.
NodeDefinition|$this attribute(string $key, mixed $value