Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1441 ariadna 1
<?php
2
 
3
namespace PhpOffice\PhpSpreadsheet\Writer\Xlsx;
4
 
5
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
6
 
7
abstract class WriterPart
8
{
9
    /**
10
     * Parent Xlsx object.
11
     */
12
    private Xlsx $parentWriter;
13
 
14
    /**
15
     * Get parent Xlsx object.
16
     */
17
    public function getParentWriter(): Xlsx
18
    {
19
        return $this->parentWriter;
20
    }
21
 
22
    /**
23
     * Set parent Xlsx object.
24
     */
25
    public function __construct(Xlsx $writer)
26
    {
27
        $this->parentWriter = $writer;
28
    }
29
}