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

ProprietaryReference   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 38
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 3
c 1
b 0
f 1
lcom 0
cbo 0
dl 0
loc 38
ccs 8
cts 8
cp 1
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A getType() 0 4 1
A getReference() 0 4 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