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

BstoreContainer::getBSECollection()   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;
4
5
class BstoreContainer
6
{
7
    /**
8
     * BLIP Store Entries. Each of them holds one BLIP (Big Large Image or Picture).
9
     *
10
     * @var array
11
     */
12
    private $BSECollection = [];
13
14
    /**
15
     * Add a BLIP Store Entry.
16
     *
17
     * @param BstoreContainer\BSE $BSE
18
     */
19
    public function addBSE($BSE)
20
    {
21
        $this->BSECollection[] = $BSE;
22
        $BSE->setParent($this);
23
    }
24
25
    /**
26
     * Get the collection of BLIP Store Entries.
27
     *
28
     * @return BstoreContainer\BSE[]
29
     */
30
    public function getBSECollection()
31
    {
32
        return $this->BSECollection;
33
    }
34
}
35