1 | <?php |
||
19 | class InternalEntityFactory implements InternalEntityFactoryInterface |
||
20 | { |
||
21 | /** @var HelperFactory */ |
||
22 | private $helperFactory; |
||
23 | |||
24 | /** |
||
25 | * @param HelperFactory $helperFactory |
||
26 | */ |
||
27 | 32 | public function __construct(HelperFactory $helperFactory) |
|
31 | |||
32 | /** |
||
33 | * @param resource $filePointer Pointer to the CSV file to read |
||
34 | * @param OptionsManagerInterface $optionsManager |
||
35 | * @param GlobalFunctionsHelper $globalFunctionsHelper |
||
36 | * @return SheetIterator |
||
37 | */ |
||
38 | 27 | public function createSheetIterator($filePointer, $optionsManager, $globalFunctionsHelper) |
|
45 | |||
46 | /** |
||
47 | * @param RowIterator $rowIterator |
||
48 | * @return Sheet |
||
49 | */ |
||
50 | 27 | private function createSheet($rowIterator) |
|
54 | |||
55 | /** |
||
56 | * @param resource $filePointer Pointer to the CSV file to read |
||
57 | * @param OptionsManagerInterface $optionsManager |
||
58 | * @param GlobalFunctionsHelper $globalFunctionsHelper |
||
59 | * @return RowIterator |
||
60 | */ |
||
61 | 27 | private function createRowIterator($filePointer, $optionsManager, $globalFunctionsHelper) |
|
67 | |||
68 | /** |
||
69 | * @param array $cellValues |
||
70 | * @return Row |
||
71 | */ |
||
72 | public function createRowFromArray(array $cellValues = []) |
||
80 | } |
||
81 |