public function prototype($type)
    {
        return $this->prototype = $this->getNodeBuilder()->node(null, $type)->setParent($this);
    }
public function prototype($type)
    {
        return $this->prototype = $this->getNodeBuilder()->node(null, $type)->setParent($this);
    }
public function prototype ( $ type ) { return $ this -> prototype = $ this -> getNodeBuilder ( ) -> node ( null , $ type ) -> setParent ( $ this ) ; }
Sets a prototype for child nodes.

@param string $type The type of node

@return NodeDefinition
Sets a prototype for child nodes .