1 | <?php |
||
14 | class Spreadsheet implements SpreadsheetInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var RowIteratorFactory |
||
18 | */ |
||
19 | protected $rowIteratorFactory; |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $sheetName; |
||
25 | |||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | protected $path; |
||
30 | |||
31 | /** |
||
32 | * Constructor |
||
33 | * |
||
34 | * @param RowIteratorFactory $rowIteratorFactory |
||
35 | * @param string $sheetName |
||
36 | * @param string $path |
||
37 | */ |
||
38 | public function __construct(RowIteratorFactory $rowIteratorFactory, $sheetName, $path) |
||
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | public function getWorksheets() |
||
52 | |||
53 | /** |
||
54 | * {@inheritdoc} |
||
55 | */ |
||
56 | public function createRowIterator($worksheetIndex, array $options = []) |
||
60 | |||
61 | /** |
||
62 | * {@inheritdoc} |
||
63 | */ |
||
64 | public function getWorksheetIndex($name) |
||
68 | } |
||
69 |