1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace PhpOffice\PhpSpreadsheet\Shared; |
4
|
|
|
|
5
|
|
|
/** |
6
|
|
|
* Copyright (c) 2006 - 2016 PhpSpreadsheet |
7
|
|
|
* |
8
|
|
|
* This library is free software; you can redistribute it and/or |
9
|
|
|
* modify it under the terms of the GNU Lesser General Public |
10
|
|
|
* License as published by the Free Software Foundation; either |
11
|
|
|
* version 2.1 of the License, or (at your option) any later version. |
12
|
|
|
* |
13
|
|
|
* This library is distributed in the hope that it will be useful, |
14
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
15
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
16
|
|
|
* Lesser General Public License for more details. |
17
|
|
|
* |
18
|
|
|
* You should have received a copy of the GNU Lesser General Public |
19
|
|
|
* License along with this library; if not, write to the Free Software |
20
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
21
|
|
|
* |
22
|
|
|
* @category PhpSpreadsheet |
23
|
|
|
* @copyright Copyright (c) 2006 - 2016 PhpSpreadsheet (https://github.com/PHPOffice/PhpSpreadsheet) |
24
|
|
|
* @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL |
25
|
|
|
* @version ##VERSION##, ##DATE## |
26
|
|
|
*/ |
27
|
|
|
class Escher |
28
|
|
|
{ |
29
|
|
|
/** |
30
|
|
|
* Drawing Group Container |
31
|
|
|
* |
32
|
|
|
* @var \DggContainer |
33
|
|
|
*/ |
34
|
|
|
private $dggContainer; |
35
|
|
|
|
36
|
|
|
/** |
37
|
|
|
* Drawing Container |
38
|
|
|
* |
39
|
|
|
* @var Escher\DgContainer |
40
|
|
|
*/ |
41
|
|
|
private $dgContainer; |
42
|
|
|
|
43
|
|
|
/** |
44
|
|
|
* Get Drawing Group Container |
45
|
|
|
* |
46
|
|
|
* @return Escher\DgContainer |
47
|
|
|
*/ |
48
|
2 |
|
public function getDggContainer() |
49
|
|
|
{ |
50
|
2 |
|
return $this->dggContainer; |
51
|
|
|
} |
52
|
|
|
|
53
|
|
|
/** |
54
|
|
|
* Set Drawing Group Container |
55
|
|
|
* |
56
|
|
|
* @param Escher\DggContainer $dggContainer |
57
|
|
|
*/ |
58
|
10 |
|
public function setDggContainer($dggContainer) |
59
|
|
|
{ |
60
|
10 |
|
return $this->dggContainer = $dggContainer; |
|
|
|
|
61
|
|
|
} |
62
|
|
|
|
63
|
|
|
/** |
64
|
|
|
* Get Drawing Container |
65
|
|
|
* |
66
|
|
|
* @return Escher\DgContainer |
67
|
|
|
*/ |
68
|
2 |
|
public function getDgContainer() |
69
|
|
|
{ |
70
|
2 |
|
return $this->dgContainer; |
71
|
|
|
} |
72
|
|
|
|
73
|
|
|
/** |
74
|
|
|
* Set Drawing Container |
75
|
|
|
* |
76
|
|
|
* @param Escher\DgContainer $dgContainer |
77
|
|
|
*/ |
78
|
10 |
|
public function setDgContainer($dgContainer) |
79
|
|
|
{ |
80
|
10 |
|
return $this->dgContainer = $dgContainer; |
81
|
|
|
} |
82
|
|
|
} |
83
|
|
|
|
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..