CashSlip::getImportRoot()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
cc 1
nc 1
nop 0
crap 1
1
<?php
2
3
/**
4
 * This file is part of riesenia/pohoda package.
5
 *
6
 * Licensed under the MIT License
7
 * (c) RIESENIA.com
8
 */
9
10
declare(strict_types=1);
11
12
namespace Riesenia\Pohoda;
13
14
class CashSlip extends AbstractDocument
15
{
16 5
    public function getImportRoot(): string
17
    {
18 5
        return 'lst:prodejka';
19
    }
20
21
    /**
22
     * {@inheritdoc}
23
     */
24 5
    protected function getDocumentNamespace(): string
25
    {
26 5
        return 'pro';
27
    }
28
29
    /**
30
     * {@inheritdoc}
31
     */
32 5
    protected function getDocumentName(): string
33
    {
34 5
        return 'prodejka';
35
    }
36
}
37