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