Symfony\Component\Console\Command\Command::asXml
Returns an XML representation of the command.
Signature
public function asXml([Boolean
$asDom = false] )
Parameters
$asDom
— object- Whether to return a DOM or an XML string
Returns
- DOMDocument
- An XML string representing the command