IndividualPrice::getXML()   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 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
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
use Riesenia\Pohoda\Common\OptionsResolver;
15
16
class IndividualPrice extends AbstractAgenda
17
{
18 1
    public function getImportRoot(): string
19
    {
20 1
        return 'lst:individualPrice';
21
    }
22
23
    /**
24
     * {@inheritdoc}
25
     */
26 1
    public function getXML(): \SimpleXMLElement
27
    {
28 1
        throw new \DomainException('Individual prices import is currently not supported.');
29
    }
30
31
    /**
32
     * {@inheritdoc}
33
     */
34 1
    protected function configureOptions(OptionsResolver $resolver): void {}
35
}
36