| 1 | <?php |
||
| 17 | abstract class BaseWriter implements WriterInterface |
||
| 18 | { |
||
| 19 | protected $filename; |
||
| 20 | protected $file; |
||
| 21 | protected $position; |
||
| 22 | |||
| 23 | public function configure($filename) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritdoc} |
||
| 35 | */ |
||
| 36 | public function open() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritdoc} |
||
| 43 | */ |
||
| 44 | public function close() |
||
| 48 | |||
| 49 | protected function _write($data, $separator = "\n") |
||
| 54 | } |
||
| 55 |