1 | <?php |
||
18 | class InternalEntityFactory implements InternalEntityFactoryInterface |
||
19 | { |
||
20 | /** @var HelperFactory */ |
||
21 | private $helperFactory; |
||
22 | |||
23 | /** @var ManagerFactory */ |
||
24 | private $managerFactory; |
||
25 | |||
26 | /** |
||
27 | * @param ManagerFactory $managerFactory |
||
28 | * @param HelperFactory $helperFactory |
||
29 | */ |
||
30 | 50 | public function __construct(ManagerFactory $managerFactory, HelperFactory $helperFactory) |
|
35 | |||
36 | /** |
||
37 | * @param string $filePath Path of the file to be read |
||
38 | * @param \Box\Spout\Common\Manager\OptionsManagerInterface $optionsManager Reader's options manager |
||
39 | * @param SharedStringsManager $sharedStringsManager Manages shared strings |
||
40 | * @return SheetIterator |
||
41 | */ |
||
42 | 39 | public function createSheetIterator($filePath, $optionsManager, $sharedStringsManager) |
|
48 | |||
49 | /** |
||
50 | * @param string $filePath Path of the XLSX file being read |
||
51 | * @param string $sheetDataXMLFilePath Path of the sheet data XML file as in [Content_Types].xml |
||
52 | * @param int $sheetIndex Index of the sheet, based on order in the workbook (zero-based) |
||
53 | * @param string $sheetName Name of the sheet |
||
54 | * @param bool $isSheetActive Whether the sheet was defined as active |
||
55 | * @param bool $isSheetVisible Whether the sheet is visible |
||
56 | * @param \Box\Spout\Common\Manager\OptionsManagerInterface $optionsManager Reader's options manager |
||
57 | * @param SharedStringsManager $sharedStringsManager Manages shared strings |
||
58 | * @return Sheet |
||
59 | */ |
||
60 | 38 | public function createSheet( |
|
74 | |||
75 | /** |
||
76 | * @param string $filePath Path of the XLSX file being read |
||
77 | * @param string $sheetDataXMLFilePath Path of the sheet data XML file as in [Content_Types].xml |
||
78 | * @param \Box\Spout\Common\Manager\OptionsManagerInterface $optionsManager Reader's options manager |
||
79 | * @param SharedStringsManager $sharedStringsManager Manages shared strings |
||
80 | * @return RowIterator |
||
81 | */ |
||
82 | 38 | private function createRowIterator($filePath, $sheetDataXMLFilePath, $optionsManager, $sharedStringsManager) |
|
109 | |||
110 | /** |
||
111 | * @return \ZipArchive |
||
112 | */ |
||
113 | 41 | public function createZipArchive() |
|
117 | |||
118 | /** |
||
119 | * @return XMLReader |
||
120 | */ |
||
121 | 46 | public function createXMLReader() |
|
125 | |||
126 | /** |
||
127 | * @param $xmlReader |
||
128 | * @return XMLProcessor |
||
129 | */ |
||
130 | 39 | public function createXMLProcessor($xmlReader) |
|
134 | } |
||
135 |