1 | <?php |
||
20 | class BufferedOutput extends Output |
||
21 | { |
||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | private $buffer = ''; |
||
26 | |||
27 | /** |
||
28 | * Empties buffer and returns its content. |
||
29 | * |
||
30 | * @return string |
||
31 | */ |
||
32 | public function fetch() |
||
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | protected function doWrite($message, $newline) |
||
51 | } |
||
52 |