FirstDataConfig   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 3
c 1
b 0
f 0
dl 0
loc 20
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getSharedSecret() 0 3 1
A getHashAlgo() 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\FirstData;
9
10
use Spryker\Client\Kernel\AbstractBundleConfig;
11
use SprykerEco\Shared\FirstData\FirstDataConstants;
12
13
class FirstDataConfig extends AbstractBundleConfig
14
{
15
    /**
16
     * @api
17
     *
18
     * @return string
19
     */
20
    public function getHashAlgo(): string
21
    {
22
        return $this->get(FirstDataConstants::HASH_ALGO);
23
    }
24
25
    /**
26
     * @api
27
     *
28
     * @return string
29
     */
30
    public function getSharedSecret(): string
31
    {
32
        return $this->get(FirstDataConstants::SHARED_SECRET);
33
    }
34
}
35