NodeBuilder::variableNode()

VariableNodeDefinition variableNode(string $name) Creates a child variable node. Parameters string $name The name of the node Return Value VariableNodeDefinition The builder of the child node

NodeBuilder::setParent()

NodeBuilder setParent(ParentNodeDefinitionInterface $parent = null) Set the parent node. Parameters ParentNodeDefinitionInterface $parent The parent node Return Value NodeBuilder This node builder

NodeBuilder::setNodeClass()

NodeBuilder setNodeClass(string $type, string $class) Adds or overrides a node Type. Parameters string $type The name of the type string $class The fully qualified name the node definition class Return Value NodeBuilder This node builder

NodeBuilder::scalarNode()

ScalarNodeDefinition scalarNode(string $name) Creates a child scalar node. Parameters string $name the name of the node Return Value ScalarNodeDefinition The child node

NodeBuilder::node()

NodeDefinition node(string $name, string $type) Creates a child node. Parameters string $name The name of the node string $type The type of the node Return Value NodeDefinition The child node Exceptions RuntimeException When the node type is not registered RuntimeException When the node class is not found

NodeBuilder::integerNode()

IntegerNodeDefinition integerNode(string $name) Creates a child integer node. Parameters string $name the name of the node Return Value IntegerNodeDefinition The child node

NodeBuilder::floatNode()

FloatNodeDefinition floatNode(string $name) Creates a child float node. Parameters string $name the name of the node Return Value FloatNodeDefinition The child node

NodeBuilder::enumNode()

EnumNodeDefinition enumNode(string $name) Creates a child EnumNode. Parameters string $name Return Value EnumNodeDefinition

NodeBuilder::end()

ParentNodeDefinitionInterface|NodeDefinition end() Returns the parent node. Return Value ParentNodeDefinitionInterface|NodeDefinition The parent node

NodeBuilder::booleanNode()

BooleanNodeDefinition booleanNode(string $name) Creates a child Boolean node. Parameters string $name The name of the node Return Value BooleanNodeDefinition The child node