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

BankTransactionCode   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 2
Bugs 1 Features 0
Metric Value
eloc 7
dl 0
loc 30
ccs 0
cts 9
cp 0
rs 10
c 2
b 1
f 0
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A setDomain() 0 3 1
A setProprietary() 0 3 1
A getProprietary() 0 3 1
A getDomain() 0 3 1
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