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\OutputCode
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();
}