OtherAccount   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 39
Duplicated Lines 0 %

Test Coverage

Coverage 50%

Importance

Changes 0
Metric Value
eloc 10
dl 0
loc 39
ccs 5
cts 10
cp 0.5
rs 10
c 0
b 0
f 0
wmc 6

6 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A getIssuer() 0 3 1
A getSchemeName() 0 3 1
A setIssuer() 0 3 1
A getIdentification() 0 3 1
A setSchemeName() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Genkgo\Camt\DTO;
6
7
class OtherAccount extends Account
8
{
9
    private string $identification;
10
11
    private ?string $schemeName = null;
12
13
    private ?string $issuer = null;
14
15
    public function __construct(string $identification)
16
    {
17
        $this->identification = $identification;
18
    }
19
20
    /**
21
     * @inheritDoc
22
     */
23
    public function getIdentification(): string
24 18
    {
25
        return $this->identification;
26 18
    }
27 18
28
    public function setSchemeName(string $schemeName): void
29
    {
30
        $this->schemeName = $schemeName;
31
    }
32 3
33
    public function getSchemeName(): ?string
34 3
    {
35
        return $this->schemeName;
36
    }
37
38
    public function setIssuer(string $issuer): void
39
    {
40
        $this->issuer = $issuer;
41
    }
42
43
    public function getIssuer(): ?string
44
    {
45
        return $this->issuer;
46
    }
47
}
48