Completed
Push — develop ( 29208e...50a0ec )
by Adrien
05:34
created

DgContainer::setSpgrContainer()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 4
ccs 0
cts 2
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace PhpOffice\PhpSpreadsheet\Shared\Escher;
4
5
class DgContainer
6
{
7
    /**
8
     * Drawing index, 1-based.
9
     *
10
     * @var int
11
     */
12
    private $dgId;
13
14
    /**
15
     * Last shape index in this drawing.
16
     *
17
     * @var int
18
     */
19
    private $lastSpId;
20
21
    private $spgrContainer = null;
22
23
    public function getDgId()
24
    {
25
        return $this->dgId;
26
    }
27
28
    public function setDgId($value)
29
    {
30
        $this->dgId = $value;
31
    }
32
33
    public function getLastSpId()
34
    {
35
        return $this->lastSpId;
36
    }
37
38
    public function setLastSpId($value)
39
    {
40
        $this->lastSpId = $value;
41
    }
42
43
    public function getSpgrContainer()
44
    {
45
        return $this->spgrContainer;
46
    }
47
48
    public function setSpgrContainer($spgrContainer)
49
    {
50
        return $this->spgrContainer = $spgrContainer;
51
    }
52
}
53