Свойство | Тип | Описание | |
---|---|---|---|
$textWriter | consolekit\TextWriter |
Метод | Описание | |
---|---|---|
__construct ( consolekit\TextWriter $writer, array $formatOptions = [] ) | ||
getTextWriter ( ) : consolekit\TextWriter | ||
setTextWriter ( consolekit\TextWriter $writer ) : |
||
write ( string $text, $pipe = TextWriter::STDOUT ) : |
Writes some text to the text writer | |
writeln ( string $text = '', $pipe = TextWriter::STDOUT ) : |
Writes a line of text |
public __construct ( consolekit\TextWriter $writer, array $formatOptions = [] ) | ||
$writer | consolekit\TextWriter | |
$formatOptions | array |
public getTextWriter ( ) : consolekit\TextWriter | ||
Результат | consolekit\TextWriter |
public setTextWriter ( consolekit\TextWriter $writer ) : |
||
$writer | consolekit\TextWriter | |
Результат |