| @@ 255-262 (lines=8) @@ | ||
| 252 | /** |
|
| 253 | * @param string $line |
|
| 254 | */ |
|
| 255 | protected function write($line) |
|
| 256 | { |
|
| 257 | if (isset($this->options['write'])) { |
|
| 258 | $streamName = $this->options['write']; |
|
| 259 | $this->$streamName->write($line); |
|
| 260 | unset($streamName); |
|
| 261 | } |
|
| 262 | } |
|
| 263 | ||
| 264 | /** |
|
| 265 | * @param string $line |
|
| @@ 267-274 (lines=8) @@ | ||
| 264 | /** |
|
| 265 | * @param string $line |
|
| 266 | */ |
|
| 267 | protected function writeErr($line) |
|
| 268 | { |
|
| 269 | if (isset($this->options['write_err'])) { |
|
| 270 | $streamName = $this->options['write_err']; |
|
| 271 | $this->$streamName->write($line); |
|
| 272 | unset($streamName); |
|
| 273 | } |
|
| 274 | } |
|
| 275 | ||
| 276 | /** |
|
| 277 | * @param string $data |
|