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