Completed
Push — master ( 606f02...b5ae25 )
by Frederik
9s
created

ProprietaryReference::getReference()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Genkgo\Camt\Camt053\DTO;
4
5
/**
6
 * Class ProprietaryReference
7
 * @package Genkgo\Camt\Camt053
8
 */
9
class ProprietaryReference
10
{
11
    /**
12
     * @var string
13
     */
14
    private $type;
15
16
    /**
17
     * @var string
18
     */
19
    private $reference;
20
21
    /**
22
     * @param string $type
23
     * @param string $reference
24
     */
25 8
    public function __construct($type, $reference)
26
    {
27 8
        $this->type = $type;
28 8
        $this->reference = $reference;
29 8
    }
30
31
    /**
32
     * @return string
33
     */
34 1
    public function getType()
35
    {
36 1
        return $this->type;
37
    }
38
39
    /**
40
     * @return string
41
     */
42 1
    public function getReference()
43
    {
44 1
        return $this->reference;
45
    }
46
}
47