You are here

protected function XmlDescriptor::describeApplication in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Descriptor/XmlDescriptor.php \Symfony\Component\Console\Descriptor\XmlDescriptor::describeApplication()

Describes an Application instance.

Parameters

Application $application:

array $options:

Return value

string|mixed

Overrides Descriptor::describeApplication

File

vendor/symfony/console/Descriptor/XmlDescriptor.php, line 168

Class

XmlDescriptor
XML descriptor.

Namespace

Symfony\Component\Console\Descriptor

Code

protected function describeApplication(Application $application, array $options = array()) {
  $this
    ->writeDocument($this
    ->getApplicationDocument($application, isset($options['namespace']) ? $options['namespace'] : null));
}