Failed Conditions
Pull Request — master (#92)
by
unknown
08:11
created

BankTransactionCode::getProprietary()   A

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 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 0
cts 2
cp 0
crap 2
rs 10
c 1
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Genkgo\Camt\DTO;
6
7
class BankTransactionCode
8
{
9
    /**
10
     * @var ProprietaryBankTransactionCode
11
     */
12
    private $proprietary;
13
14
    /**
15
     * @var DomainBankTransactionCode
16
     */
17
    private $domain;
18
19
    public function getProprietary(): ProprietaryBankTransactionCode
20
    {
21
        return $this->proprietary;
22
    }
23
24
    public function setProprietary(ProprietaryBankTransactionCode $proprietary): void
25
    {
26
        $this->proprietary = $proprietary;
27
    }
28
29
    public function getDomain(): DomainBankTransactionCode
30
    {
31
        return $this->domain;
32
    }
33
34
    public function setDomain(DomainBankTransactionCode $domain): void
35
    {
36
        $this->domain = $domain;
37
    }
38
}
39