public function xml(SimpleXMLElement $parent)
    {
        $command = $parent->addChild('command');
        $command->addAttribute('name', $this->_name);
        $command->addAttribute('help', $this->_help);

        return $parent;
    }
public function xml(SimpleXMLElement $parent)
    {
        $command = $parent->addChild('command');
        $command->addAttribute('name', $this->_name);
        $command->addAttribute('help', $this->_help);

        return $parent;
    }
public function xml ( SimpleXMLElement $ parent ) { $ command = $ parent -> addChild ( 'command' ) ; $ command -> addAttribute ( 'name' , $ this -> _name ) ; $ command -> addAttribute ( 'help' , $ this -> _help ) ; return $ parent ; }
Append this subcommand to the Parent element

@param \SimpleXMLElement $parent The parent element.
@return \SimpleXMLElement The parent with this subcommand appended.
Append this subcommand to the Parent element