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

DgContainer   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 48
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 48
ccs 0
cts 14
cp 0
rs 10
c 0
b 0
f 0
wmc 6
lcom 1
cbo 0

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getDgId() 0 4 1
A setDgId() 0 4 1
A getLastSpId() 0 4 1
A setLastSpId() 0 4 1
A getSpgrContainer() 0 4 1
A setSpgrContainer() 0 4 1
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