You are here

protected function Descriptor::write in Zircon Profile 8

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

Writes content to output.

Parameters

string $content:

bool $decorated:

8 calls to Descriptor::write()
JsonDescriptor::writeData in vendor/symfony/console/Descriptor/JsonDescriptor.php
Writes data as json.
MarkdownDescriptor::describeApplication in vendor/symfony/console/Descriptor/MarkdownDescriptor.php
Describes an Application instance.
MarkdownDescriptor::describeCommand in vendor/symfony/console/Descriptor/MarkdownDescriptor.php
Describes a Command instance.
MarkdownDescriptor::describeInputArgument in vendor/symfony/console/Descriptor/MarkdownDescriptor.php
Describes an InputArgument instance.
MarkdownDescriptor::describeInputDefinition in vendor/symfony/console/Descriptor/MarkdownDescriptor.php
Describes an InputDefinition instance.

... See full list

File

vendor/symfony/console/Descriptor/Descriptor.php, line 67

Class

Descriptor
@author Jean-François Simon <jeanfrancois.simon@sensiolabs.com>

Namespace

Symfony\Component\Console\Descriptor

Code

protected function write($content, $decorated = false) {
  $this->output
    ->write($content, false, $decorated ? OutputInterface::OUTPUT_NORMAL : OutputInterface::OUTPUT_RAW);
}