Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ConsoleOutput.php

function ConsoleOutput::section

Creates a new output section.

Overrides ConsoleOutputInterface::section

File

vendor/symfony/console/Output/ConsoleOutput.php, line 62

Class

ConsoleOutput
ConsoleOutput is the default class for all CLI output. It uses STDOUT and STDERR.

Namespace

Symfony\Component\Console\Output

Code

public function section() : ConsoleSectionOutput {
    return new ConsoleSectionOutput($this->getStream(), $this->consoleSectionOutputs, $this->getVerbosity(), $this->isDecorated(), $this->getFormatter());
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal