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

Account   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 20
ccs 5
cts 5
cp 1
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getIban() 0 4 1
1
<?php
2
3
namespace Genkgo\Camt\Camt053\DTO;
4
5
use Genkgo\Camt\Iban;
6
7
/**
8
 * Class Account
9
 * @package Genkgo\Camt\Camt053
10
 */
11
class Account
12
{
13
    /**
14
     * @var Iban
15
     */
16
    private $iban;
17
18 11
    public function __construct(Iban $iban)
19
    {
20 11
        $this->iban = $iban;
21 11
    }
22
23
    /**
24
     * @return Iban
25
     */
26 2
    public function getIban()
27
    {
28 2
        return $this->iban;
29
    }
30
}
31