| Conditions | 3 |
| Paths | 3 |
| Total Lines | 16 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 47 | public function flush() |
||
| 48 | { |
||
| 49 | $str = parent::flush(); |
||
| 50 | |||
| 51 | if (!$this->_stdout) { |
||
| 52 | if (!defined('STDOUT')) { |
||
| 53 | $this->_stdout = fopen(TStdOutWriter::STDOUT_URI, 'wb'); |
||
| 54 | } else { |
||
| 55 | $this->_stdout = STDOUT; |
||
| 56 | } |
||
| 57 | } |
||
| 58 | |||
| 59 | fwrite($this->_stdout, $str); |
||
| 60 | flush(); |
||
| 61 | |||
| 62 | return $str; |
||
| 63 | } |
||
| 65 |