1 | <?php |
||
7 | abstract class WriterPart |
||
8 | { |
||
9 | /** |
||
10 | * Parent Xlsx object. |
||
11 | * |
||
12 | * @var Xlsx |
||
13 | */ |
||
14 | private $parentWriter; |
||
15 | |||
16 | /** |
||
17 | * Get parent Xlsx object. |
||
18 | * |
||
19 | * @throws \PhpOffice\PhpSpreadsheet\Writer\Exception |
||
20 | * |
||
21 | * @return Xlsx |
||
22 | */ |
||
23 | public function getParentWriter() |
||
27 | |||
28 | /** |
||
29 | * Set parent Xlsx object. |
||
30 | * |
||
31 | * @param Xlsx $pWriter |
||
32 | */ |
||
33 | public function __construct(Xlsx $pWriter) |
||
37 | } |
||
38 |