Completed
Pull Request — master (#22)
by Yann
04:24 queued 01:34
created

BBANAccount::getIdentification()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 2
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