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