Completed
Push — master ( 0d5cb2...ca808c )
by Frederik
8s
created

BBANAccount   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getBban() 0 4 1
A getIdentification() 0 4 1
1
<?php
2
3
namespace Genkgo\Camt\DTO;
4
5
/**
6
 * Class BBANAccount
7
 * @package Genkgo\Camt
8
 */
9
class BBANAccount extends Account
10
{
11
    /**
12
     * @var string
13
     */
14
    private $bban;
15
16
    /**
17
     * @param string $bban
18
     */
19
    public function __construct($bban)
20
    {
21
        $this->bban = $bban;
22
    }
23
24
    /**
25
     * @return string
26
     */
27
    public function getBban()
28
    {
29
        return (string) $this->bban;
30
    }
31
32
    /**
33
     * {@inheritdoc}
34
     */
35
    public function getIdentification()
36
    {
37
        return (string) $this->bban;
38
    }
39
}
40