Completed
Push — develop ( d3e769...440bfe )
by Adrien
22:10
created

DgContainer::setSpgrContainer()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 2
c 0
b 0
f 0
nc 1
nop 1
dl 0
loc 4
ccs 2
cts 2
cp 1
crap 1
rs 10
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;
22
23 10
    public function getDgId()
24
    {
25 10
        return $this->dgId;
26
    }
27
28 10
    public function setDgId($value)
29
    {
30 10
        $this->dgId = $value;
31 10
    }
32
33 10
    public function getLastSpId()
34
    {
35 10
        return $this->lastSpId;
36
    }
37
38 10
    public function setLastSpId($value)
39
    {
40 10
        $this->lastSpId = $value;
41 10
    }
42
43 10
    public function getSpgrContainer()
44
    {
45 10
        return $this->spgrContainer;
46
    }
47
48 10
    public function setSpgrContainer($spgrContainer)
49
    {
50 10
        return $this->spgrContainer = $spgrContainer;
51
    }
52
}
53