Property | Type | Description | |
---|---|---|---|
$textWriter | consolekit\TextWriter |
Method | Description | |
---|---|---|
__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 | ||
return | consolekit\TextWriter |
public setTextWriter ( consolekit\TextWriter $writer ) : |
||
$writer | consolekit\TextWriter | |
return |