| 1 | <?php |
||
| 9 | class DefaultImporter extends ExcelFile |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * The importer config. |
||
| 13 | * |
||
| 14 | * @var array |
||
| 15 | */ |
||
| 16 | public $config = [ |
||
| 17 | 'name' => 'name', |
||
| 18 | 'log' => true, |
||
| 19 | ]; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * {@inheritdoc} |
||
| 23 | */ |
||
| 24 | protected $delimiter = ';'; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * {@inheritdoc} |
||
| 28 | */ |
||
| 29 | protected $enclosure = '"'; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritdoc} |
||
| 33 | */ |
||
| 34 | protected $lineEnding = '\r\n'; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritdoc} |
||
| 38 | */ |
||
| 39 | public function getFile() |
||
| 43 | } |
||
| 44 |