protected $parent;
protected $nodeMapping;
- /**
- * Constructor.
- */
public function __construct()
{
$this->nodeMapping = array(
/**
* Set the parent node.
*
- * @param ParentNodeDefinitionInterface $parent The parent node
- *
* @return $this
*/
public function setParent(ParentNodeDefinitionInterface $parent = null)
/**
* Creates a child scalar node.
*
- * @param string $name the name of the node
+ * @param string $name The name of the node
*
* @return ScalarNodeDefinition The child node
*/
/**
* Creates a child integer node.
*
- * @param string $name the name of the node
+ * @param string $name The name of the node
*
* @return IntegerNodeDefinition The child node
*/
/**
* Creates a child float node.
*
- * @param string $name the name of the node
+ * @param string $name The name of the node
*
* @return FloatNodeDefinition The child node
*/
/**
* Creates a child node.
*
- * @param string $name The name of the node
- * @param string $type The type of the node
+ * @param string|null $name The name of the node
+ * @param string $type The type of the node
*
* @return NodeDefinition The child node
*
* ->end()
* ;
*
- * @param NodeDefinition $node
- *
* @return $this
*/
public function append(NodeDefinition $node)