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

BstoreContainer   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A addBSE() 0 5 1
A getBSECollection() 0 4 1
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 7
    public function addBSE($BSE)
20
    {
21 7
        $this->BSECollection[] = $BSE;
22 7
        $BSE->setParent($this);
23 7
    }
24
25
    /**
26
     * Get the collection of BLIP Store Entries.
27
     *
28
     * @return BstoreContainer\BSE[]
29
     */
30 10
    public function getBSECollection()
31
    {
32 10
        return $this->BSECollection;
33
    }
34
}
35