| 1 | <?php |
||
| 27 | class DumpStringOutput extends DumpOutput { |
||
| 28 | private $output = ''; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param string $string |
||
| 32 | */ |
||
| 33 | function write( $string ) { |
||
| 34 | $this->output .= $string; |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Get the string containing the output. |
||
| 39 | * |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | public function __toString() { |
||
| 45 | } |
||
| 46 |