Passed
Pull Request — master (#3)
by Volodymyr
09:23 queued 03:49
created

FactFinderNgConfig   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Importance

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

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getFactFinderUsername() 0 3 1
A getFactFinderChannel() 0 3 1
A getFactFinderPassword() 0 3 1
A getFactFinderUrl() 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
     * @return string
17
     */
18
    public function getFactFinderUsername(): string
19
    {
20
        return $this->get(FactFinderNgConstants::FACT_FINDER_USERNAME);
21
    }
22
23
    /**
24
     * @return string
25
     */
26
    public function getFactFinderPassword(): string
27
    {
28
        return $this->get(FactFinderNgConstants::FACT_FINDER_PASSWORD);
29
    }
30
31
    /**
32
     * @return string
33
     */
34
    public function getFactFinderChannel(): string
35
    {
36
        return $this->get(FactFinderNgConstants::FACT_FINDER_CHANNEL);
37
    }
38
39
    /**
40
     * @return string
41
     */
42
    public function getFactFinderUrl(): string
43
    {
44
        return $this->get(FactFinderNgConstants::FACT_FINDER_URL);
45
    }
46
}
47