[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 120 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
StreamOutput:: (4 methods):
__construct()
getStream()
doWrite()
hasColorSupport()
Class: StreamOutput - X-Ref
StreamOutput writes the output to a given stream.__construct($stream, $verbosity = self::VERBOSITY_NORMAL, $decorated = null, OutputFormatterInterface $formatter = null) X-Ref |
param: resource $stream A stream resource 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) |
getStream() X-Ref |
Gets the stream attached to this StreamOutput instance. return: resource A stream resource |
doWrite($message, $newline) X-Ref |
{@inheritdoc} |
hasColorSupport() X-Ref |
Returns true if the stream supports colorization. Colorization is disabled if not supported by the stream: This is tricky on Windows, because Cygwin, Msys2 etc emulate pseudo terminals via named pipes, so we can only check the environment. Reference: Composer\XdebugHandler\Process::supportsColor https://github.com/composer/xdebug-handler return: bool true if the stream supports colorization, false otherwise |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |