Bank   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 4
eloc 5
dl 0
loc 29
c 0
b 0
f 0
ccs 8
cts 8
cp 1
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getDefaultDto() 0 3 1
A getDocumentName() 0 3 1
A getImportRoot() 0 3 1
A getDocumentNamespace() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace kalanis\Pohoda;
6
7
class Bank extends AbstractDocument
8
{
9 5
    public function getImportRoot(): string
10
    {
11 5
        return 'lst:bank';
12
    }
13
14
    /**
15
     * {@inheritdoc}
16
     */
17 5
    protected function getDocumentNamespace(): string
18
    {
19 5
        return 'bnk';
20
    }
21
22
    /**
23
     * {@inheritdoc}
24
     */
25 5
    protected function getDocumentName(): string
26
    {
27 5
        return 'bank';
28
    }
29
30
    /**
31
     * {@inheritdoc}
32
     */
33 6
    protected function getDefaultDto(): Common\Dtos\AbstractDto
34
    {
35 6
        return new Bank\BankDto();
36
    }
37
}
38