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

Breadcrumb

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

function ConsoleSectionOutput::__construct

Parameters

resource $stream:

ConsoleSectionOutput[] $sections:

Overrides StreamOutput::__construct

File

vendor/symfony/console/Output/ConsoleSectionOutput.php, line 34

Class

ConsoleSectionOutput
@author Pierre du Plessis <pdples@gmail.com> @author Gabriel Ostrolucký <gabriel.ostrolucky@gmail.com>

Namespace

Symfony\Component\Console\Output

Code

public function __construct($stream, array &$sections, int $verbosity, bool $decorated, OutputFormatterInterface $formatter) {
    parent::__construct($stream, $verbosity, $decorated, $formatter);
    array_unshift($sections, $this);
    $this->sections =& $sections;
    $this->terminal = new Terminal();
}

API Navigation

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