1 | <?php |
||
19 | class EntityFactory |
||
20 | { |
||
21 | /** |
||
22 | * @return Workbook |
||
23 | */ |
||
24 | 84 | public function createWorkbook() |
|
28 | |||
29 | /** |
||
30 | * @param string $worksheetFilePath |
||
31 | * @param Sheet $externalSheet |
||
32 | * @return Worksheet |
||
33 | */ |
||
34 | 84 | public function createWorksheet($worksheetFilePath, Sheet $externalSheet) |
|
38 | |||
39 | /** |
||
40 | * @param int $sheetIndex Index of the sheet, based on order in the workbook (zero-based) |
||
41 | * @param string $associatedWorkbookId ID of the sheet's associated workbook |
||
42 | * @param SheetManager $sheetManager To manage sheets |
||
43 | * @return Sheet |
||
44 | */ |
||
45 | 84 | public function createSheet($sheetIndex, $associatedWorkbookId, $sheetManager) |
|
49 | |||
50 | /** |
||
51 | * @param mixed $cellValue |
||
52 | * @return Cell |
||
53 | */ |
||
54 | public static function createCell($cellValue) |
||
58 | |||
59 | /** |
||
60 | * @return \ZipArchive |
||
61 | */ |
||
62 | 69 | public function createZipArchive() |
|
66 | |||
67 | /** |
||
68 | * @param array $cells |
||
69 | * @param Style|null $style |
||
70 | * @return Row |
||
71 | */ |
||
72 | 80 | public static function createRow(array $cells, Style $style = null) |
|
79 | } |
||
80 |