init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
29
lib/PhpSpreadsheet/Writer/Xlsx/WriterPart.php
Normal file
29
lib/PhpSpreadsheet/Writer/Xlsx/WriterPart.php
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<?php
|
||||
|
||||
namespace PhpOffice\PhpSpreadsheet\Writer\Xlsx;
|
||||
|
||||
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
|
||||
|
||||
abstract class WriterPart
|
||||
{
|
||||
/**
|
||||
* Parent Xlsx object.
|
||||
*/
|
||||
private Xlsx $parentWriter;
|
||||
|
||||
/**
|
||||
* Get parent Xlsx object.
|
||||
*/
|
||||
public function getParentWriter(): Xlsx
|
||||
{
|
||||
return $this->parentWriter;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set parent Xlsx object.
|
||||
*/
|
||||
public function __construct(Xlsx $writer)
|
||||
{
|
||||
$this->parentWriter = $writer;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue