BBANAccount   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 20
ccs 0
cts 8
cp 0
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A getBban() 0 3 1
A getIdentification() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Genkgo\Camt\DTO;
6
7
class BBANAccount extends Account
8
{
9
    private string $bban;
10
11
    public function __construct(string $bban)
12
    {
13
        $this->bban = $bban;
14
    }
15
16
    public function getBban(): string
17
    {
18
        return (string) $this->bban;
19
    }
20
21
    /**
22
     * @inheritDoc
23
     */
24
    public function getIdentification(): string
25
    {
26
        return (string) $this->bban;
27
    }
28
}
29