OtherAccount::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

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