ArrayConfig::getCsvPath()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
namespace TEiling\Scd16\Config;
3
4
class ArrayConfig implements ConfigInterface
5
{
6
    private $imagePath;
7
8
    private $csvPath;
9
10
    private $groupName;
11
12
    private $defaultTaxId;
13
14
    /**
15
     * ArrayConfig constructor.
16
     *
17
     * @param $imagePath
18
     * @param $csvPath
19
     */
20
    public function __construct($imagePath, $csvPath)
21
    {
22
        $this->imagePath = $imagePath;
23
        $this->csvPath = $csvPath;
24
        $this->groupName = 'Größe';
25
        $this->defaultTaxId = 1;
26
    }
27
28
    /**
29
     * @return mixed
30
     */
31
    public function getImagePath()
32
    {
33
        return $this->imagePath;
34
    }
35
36
    /**
37
     * @return mixed
38
     */
39
    public function getCsvPath()
40
    {
41
        return $this->csvPath;
42
    }
43
44
    /**
45
     * @return mixed
46
     */
47
    public function getGroupName()
48
    {
49
        return $this->groupName;
50
    }
51
52
    /**
53
     * @return mixed
54
     */
55
    public function getDefaultTaxId()
56
    {
57
        return $this->defaultTaxId;
58
    }
59
}
60