[ Index ]

PHP Cross Reference of phpBB-3.3.7-deutsch

title

Body

[close]

/vendor/symfony/console/Output/ -> ConsoleOutput.php (summary)

(no description)

File Size: 152 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ConsoleOutput:: (11 methods):
  __construct()
  setDecorated()
  setFormatter()
  setVerbosity()
  getErrorOutput()
  setErrorOutput()
  hasStdoutSupport()
  hasStderrSupport()
  isRunningOS400()
  openOutputStream()
  openErrorStream()


Class: ConsoleOutput  - X-Ref

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

This class is a convenient wrapper around `StreamOutput` for both STDOUT and STDERR.

$output = new ConsoleOutput();

This is equivalent to:

$output = new StreamOutput(fopen('php://stdout', 'w'));
$stdErr = new StreamOutput(fopen('php://stderr', 'w'));

__construct($verbosity = self::VERBOSITY_NORMAL, $decorated = null, OutputFormatterInterface $formatter = null)   X-Ref

param: int                           $verbosity The verbosity level (one of the VERBOSITY constants in OutputInterface)
param: bool|null                     $decorated Whether to decorate messages (null for auto-guessing)
param: OutputFormatterInterface|null $formatter Output formatter instance (null to use default OutputFormatter)

setDecorated($decorated)   X-Ref
{@inheritdoc}


setFormatter(OutputFormatterInterface $formatter)   X-Ref
{@inheritdoc}


setVerbosity($level)   X-Ref
{@inheritdoc}


getErrorOutput()   X-Ref
{@inheritdoc}


setErrorOutput(OutputInterface $error)   X-Ref
{@inheritdoc}


hasStdoutSupport()   X-Ref
Returns true if current environment supports writing console output to
STDOUT.

return: bool

hasStderrSupport()   X-Ref
Returns true if current environment supports writing console output to
STDERR.

return: bool

isRunningOS400()   X-Ref
Checks if current executing environment is IBM iSeries (OS400), which
doesn't properly convert character-encodings between ASCII to EBCDIC.

return: bool

openOutputStream()   X-Ref

return: resource

openErrorStream()   X-Ref

return: resource



Generated: Thu Mar 24 21:31:15 2022 Cross-referenced by PHPXref 0.7.1