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

BstoreContainer   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 30
ccs 0
cts 6
cp 0
rs 10
c 0
b 0
f 0
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
    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