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

Blip::getData()   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 0
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\DggContainer\BstoreContainer\BSE;
4
5
class Blip
6
{
7
    /**
8
     * The parent BSE.
9
     *
10
     * @var \PhpOffice\PhpSpreadsheet\Shared\Escher\DggContainer\BstoreContainer\BSE
11
     */
12
    private $parent;
13
14
    /**
15
     * Raw image data.
16
     *
17
     * @var string
18
     */
19
    private $data;
20
21
    /**
22
     * Get the raw image data.
23
     *
24
     * @return string
25
     */
26
    public function getData()
27
    {
28
        return $this->data;
29
    }
30
31
    /**
32
     * Set the raw image data.
33
     *
34
     * @param string
35
     * @param mixed $data
36
     */
37
    public function setData($data)
38
    {
39
        $this->data = $data;
40
    }
41
42
    /**
43
     * Set parent BSE.
44
     *
45
     * @param \PhpOffice\PhpSpreadsheet\Shared\Escher\DggContainer\BstoreContainer\BSE $parent
46
     */
47
    public function setParent($parent)
48
    {
49
        $this->parent = $parent;
50
    }
51
52
    /**
53
     * Get parent BSE.
54
     *
55
     * @return \PhpOffice\PhpSpreadsheet\Shared\Escher\DggContainer\BstoreContainer\BSE $parent
56
     */
57
    public function getParent()
58
    {
59
        return $this->parent;
60
    }
61
}
62