PluginProbe
TablePress – Tables in WordPress made easy / 3.4
TablePress – Tables in WordPress made easy v3.4
3.4 3.3.4 3.3.3 3.3.2 3.3.1 trunk 1.12 1.14 1.9.2 2.0.4 2.1.7 2.1.8 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3 2.3.1 2.3.2 2.4 2.4.1 2.4.2 2.4.3 All 45 releases
tablepress / libraries / vendor / PhpSpreadsheet / Shared / Escher.php

Escher.php in TablePress – Tables in WordPress made easy 3.4, at libraries/vendor/PhpSpreadsheet/Shared/Escher.php

73 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace TablePress\PhpOffice\PhpSpreadsheet\Shared;
4
5 use TablePress\PhpOffice\PhpSpreadsheet\Exception as SpreadsheetException;
6
7 class Escher
8 {
9 /**
10 * Drawing Group Container.
11 */
12 private ?Escher\DggContainer $dggContainer = null;
13
14 /**
15 * Drawing Container.
16 */
17 private ?Escher\DgContainer $dgContainer = null;
18
19 /**
20 * Get Drawing Group Container.
21 */
22 public function getDggContainer(): ?Escher\DggContainer
23 {
24 return $this->dggContainer;
25 }
26
27 /**
28 * Get Drawing Group Container.
29 */
30 public function getDggContainerOrThrow(): Escher\DggContainer
31 {
32 if (!isset($this->dggContainer)) {
33 throw new SpreadsheetException('dggContainer is unexpectedly null');
34 }
35 return $this->dggContainer;
36 }
37
38 /**
39 * Set Drawing Group Container.
40 */
41 public function setDggContainer(Escher\DggContainer $dggContainer): Escher\DggContainer
42 {
43 return $this->dggContainer = $dggContainer;
44 }
45
46 /**
47 * Get Drawing Container.
48 */
49 public function getDgContainer(): ?Escher\DgContainer
50 {
51 return $this->dgContainer;
52 }
53
54 /**
55 * Get Drawing Container.
56 */
57 public function getDgContainerOrThrow(): Escher\DgContainer
58 {
59 if (!isset($this->dgContainer)) {
60 throw new SpreadsheetException('dgContainer is unexpectedly null');
61 }
62 return $this->dgContainer;
63 }
64
65 /**
66 * Set Drawing Container.
67 */
68 public function setDgContainer(Escher\DgContainer $dgContainer): Escher\DgContainer
69 {
70 return $this->dgContainer = $dgContainer;
71 }
72 }
73