1 | <?php |
||
15 | class EntityFactory |
||
16 | { |
||
17 | /** @var ManagerFactory */ |
||
18 | private $managerFactory; |
||
19 | |||
20 | /** |
||
21 | * EntityFactory constructor. |
||
22 | * |
||
23 | * @param ManagerFactory $managerFactory |
||
24 | */ |
||
25 | 99 | public function __construct(ManagerFactory $managerFactory) |
|
29 | |||
30 | /** |
||
31 | * @return Workbook |
||
32 | */ |
||
33 | 89 | public function createWorkbook() |
|
37 | |||
38 | /** |
||
39 | * @param string $worksheetFilePath |
||
40 | * @param Sheet $externalSheet |
||
41 | * @return Worksheet |
||
42 | */ |
||
43 | 89 | public function createWorksheet($worksheetFilePath, Sheet $externalSheet) |
|
47 | |||
48 | /** |
||
49 | * @param int $sheetIndex Index of the sheet, based on order in the workbook (zero-based) |
||
50 | * @param string $associatedWorkbookId ID of the sheet's associated workbook |
||
51 | * @return Sheet |
||
52 | */ |
||
53 | 89 | public function createSheet($sheetIndex, $associatedWorkbookId) |
|
58 | } |