1 | <?php |
||
14 | class SpreadsheetLoader implements SpreadsheetLoaderInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var RowIteratorFactory |
||
18 | */ |
||
19 | protected $rowIteratorFactory; |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $spreadsheetClass; |
||
25 | |||
26 | /** |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | protected $sheetName; |
||
31 | |||
32 | /** |
||
33 | * Constructor |
||
34 | * |
||
35 | * @param RowIteratorFactory $rowIteratorFactory |
||
36 | * @param string $spreadsheetClass |
||
37 | * @param string $sheetName |
||
38 | */ |
||
39 | public function __construct(RowIteratorFactory $rowIteratorFactory, $spreadsheetClass, $sheetName) |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public function open($path, $type = null) |
||
57 | |||
58 | } |
||
59 |