Alter Version
This commit is contained in:
33
vendor/PhpSpreadsheet/Writer/Ods/WriterPart.php
vendored
Normal file
33
vendor/PhpSpreadsheet/Writer/Ods/WriterPart.php
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace PhpOffice\PhpSpreadsheet\Writer\Ods;
|
||||
|
||||
use PhpOffice\PhpSpreadsheet\Writer\Ods;
|
||||
|
||||
abstract class WriterPart
|
||||
{
|
||||
/**
|
||||
* Parent Ods object.
|
||||
*
|
||||
* @var Ods
|
||||
*/
|
||||
private $parentWriter;
|
||||
|
||||
/**
|
||||
* Get Ods writer.
|
||||
*
|
||||
* @return Ods
|
||||
*/
|
||||
public function getParentWriter()
|
||||
{
|
||||
return $this->parentWriter;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set parent Ods writer.
|
||||
*/
|
||||
public function __construct(Ods $writer)
|
||||
{
|
||||
$this->parentWriter = $writer;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user