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