| 1 | <?php |
||
| 17 | class EntityFactory |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @return Workbook |
||
| 21 | */ |
||
| 22 | 89 | public function createWorkbook() |
|
| 26 | |||
| 27 | /** |
||
| 28 | * @param string $worksheetFilePath |
||
| 29 | * @param Sheet $externalSheet |
||
| 30 | * @return Worksheet |
||
| 31 | */ |
||
| 32 | 89 | public function createWorksheet($worksheetFilePath, Sheet $externalSheet) |
|
| 36 | |||
| 37 | /** |
||
| 38 | * @param int $sheetIndex Index of the sheet, based on order in the workbook (zero-based) |
||
| 39 | * @param string $associatedWorkbookId ID of the sheet's associated workbook |
||
| 40 | * @param SheetManager $sheetManager To manage sheets |
||
| 41 | * @return Sheet |
||
| 42 | */ |
||
| 43 | 89 | public function createSheet($sheetIndex, $associatedWorkbookId, $sheetManager) |
|
| 47 | |||
| 48 | /** |
||
| 49 | * @param mixed $cellValue |
||
| 50 | * @return Cell |
||
| 51 | */ |
||
| 52 | 60 | public function createCell($cellValue) |
|
| 56 | |||
| 57 | /** |
||
| 58 | * @return \ZipArchive |
||
| 59 | */ |
||
| 60 | 70 | public function createZipArchive() |
|
| 64 | } |
||
| 65 |