Final Class Yiisoft\Yii\Console\Output\ConsoleBufferedOutput
| Inheritance | Yiisoft\ |
|---|
Public Methods
| Method | Description | Defined By |
|---|---|---|
| fetch() | Returns buffer content optionally clearing it. | Yiisoft\ |
Protected Methods
| Method | Description | Defined By |
|---|---|---|
| doWrite() | Yiisoft\ |
Method Details
| protected void doWrite ( string $message, boolean $newline ) | ||
| $message | string | |
| $newline | boolean | |
protected function doWrite(string $message, bool $newline): void
{
$this->buffer .= $message;
if ($newline) {
$this->buffer .= PHP_EOL;
}
parent::doWrite($message, $newline);
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.