Passed
Branch development (62ef01)
by Theodoros
06:18
created

EcondaConfig::getFileExportPath()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * MIT License
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace SprykerEco\Zed\Econda;
9
10
use Spryker\Shared\Application\ApplicationConstants;
11
use Spryker\Zed\Kernel\AbstractBundleConfig;
12
use SprykerEco\Shared\Econda\EcondaConstants;
13
14
class EcondaConfig extends AbstractBundleConfig
15
{
16
    const ECONDA_CSV_DELIMITER = '|';
17
    const ECONDA_CSV_CATEGORY_DELIMITER = '^^';
18
19
    /**
20
     * @return string
21
     */
22
    public function getHostYves()
23
    {
24
        return $this->get(ApplicationConstants::HOST_YVES);
25
    }
26
27
    /**
28
     * @return string
29
     */
30
    public function getFileExportPath()
31
    {
32
        return $this->get(EcondaConstants::ECONDA_CSV_FOLDER_PATH);
33
    }
34
35
    /**
36
     * @param string $dbEngineName
37
     *
38
     * @return array
39
     */
40
    public function getStoragePdoQueryAdapterClassNames($dbEngineName)
41
    {
42
        $data = [
43
            'MySql' => [
44
45
            ],
46
            'PostgreSql' => [
47
48
            ],
49
        ];
50
51
        return $data[$dbEngineName];
52
    }
53
}
54