1 | <?php |
||
19 | class EntityFactory implements EntityFactoryInterface |
||
20 | { |
||
21 | /** @var HelperFactory */ |
||
22 | private $helperFactory; |
||
23 | |||
24 | /** |
||
25 | * @param HelperFactory $helperFactory |
||
26 | */ |
||
27 | 78 | public function __construct(HelperFactory $helperFactory) |
|
31 | |||
32 | /** |
||
33 | * @param string $filePath Path of the file to be read |
||
34 | * @param \Box\Spout\Common\Manager\OptionsManagerInterface $optionsManager Reader's options manager |
||
35 | * @param SharedStringsHelper $sharedStringsHelper Helper to work with shared strings |
||
36 | * @param \Box\Spout\Common\Helper\GlobalFunctionsHelper $globalFunctionsHelper |
||
37 | * @return SheetIterator |
||
38 | */ |
||
39 | 34 | public function createSheetIterator($filePath, $optionsManager, $sharedStringsHelper, $globalFunctionsHelper) |
|
50 | |||
51 | /** |
||
52 | * @param string $filePath Path of the XLSX file being read |
||
53 | * @param string $sheetDataXMLFilePath Path of the sheet data XML file as in [Content_Types].xml |
||
54 | * @param int $sheetIndex Index of the sheet, based on order in the workbook (zero-based) |
||
55 | * @param string $sheetName Name of the sheet |
||
56 | * @param bool $isSheetActive Whether the sheet was defined as active |
||
57 | * @param \Box\Spout\Common\Manager\OptionsManagerInterface $optionsManager Reader's options manager |
||
58 | * @param SharedStringsHelper $sharedStringsHelper Helper to work with shared strings |
||
59 | * @return Sheet |
||
60 | */ |
||
61 | 33 | public function createSheet( |
|
81 | |||
82 | /** |
||
83 | * @param string $filePath Path of the XLSX file being read |
||
84 | * @param string $sheetDataXMLFilePath Path of the sheet data XML file as in [Content_Types].xml |
||
85 | * @param \Box\Spout\Common\Manager\OptionsManagerInterface $optionsManager Reader's options manager |
||
86 | * @param SharedStringsHelper $sharedStringsHelper Helper to work with shared strings |
||
87 | * @return RowIterator |
||
88 | */ |
||
89 | 33 | public function createRowIterator($filePath, $sheetDataXMLFilePath, $optionsManager, $sharedStringsHelper) |
|
93 | |||
94 | /** |
||
95 | * @return \ZipArchive |
||
96 | */ |
||
97 | 36 | public function createZipArchive() |
|
101 | |||
102 | /** |
||
103 | * @return XMLReader |
||
104 | */ |
||
105 | 41 | public function createXMLReader() |
|
109 | |||
110 | /** |
||
111 | * @param $xmlReader |
||
112 | * @return XMLProcessor |
||
113 | */ |
||
114 | 33 | public function createXMLProcessor($xmlReader) |
|
118 | } |
||
119 |