FactFinderNgConfig   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 40
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 5
c 1
b 0
f 0
dl 0
loc 40
rs 10
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getFactFinderUsername() 0 3 1
A getFactFinderChannel() 0 3 1
A getFactFinderUrl() 0 3 1
A getFactFinderPassword() 0 3 1
1
<?php
2
3
/**
4
 * MIT License
5
 * For full license information, please view the LICENSE file that was distributed with this source code.
6
 */
7
8
namespace SprykerEco\Client\FactFinderNg;
9
10
use Spryker\Client\Kernel\AbstractBundleConfig;
11
use SprykerEco\Shared\FactFinderNg\FactFinderNgConstants;
12
13
class FactFinderNgConfig extends AbstractBundleConfig
14
{
15
    /**
16
     * @api
17
     *
18
     * @return string
19
     */
20
    public function getFactFinderUsername(): string
21
    {
22
        return $this->get(FactFinderNgConstants::FACT_FINDER_USERNAME);
23
    }
24
25
    /**
26
     * @api
27
     *
28
     * @return string
29
     */
30
    public function getFactFinderPassword(): string
31
    {
32
        return $this->get(FactFinderNgConstants::FACT_FINDER_PASSWORD);
33
    }
34
35
    /**
36
     * @api
37
     *
38
     * @return string
39
     */
40
    public function getFactFinderChannel(): string
41
    {
42
        return $this->get(FactFinderNgConstants::FACT_FINDER_CHANNEL);
43
    }
44
45
    /**
46
     * @api
47
     *
48
     * @return string
49
     */
50
    public function getFactFinderUrl(): string
51
    {
52
        return $this->get(FactFinderNgConstants::FACT_FINDER_URL);
53
    }
54
}
55