Passed
Push — feature/eco-3656/eco-3658-enab... ( da021b...202423 )
by
unknown
04:29
created

ComputopConfig::getDefaultShipmentMethodId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 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\Client\Computop;
9
10
use Spryker\Client\Kernel\AbstractBundleConfig;
11
use SprykerEco\Shared\Computop\ComputopConstants;
12
13
class ComputopConfig extends AbstractBundleConfig
14
{
15
    /**
16
     * @api
17
     *
18
     * @return bool
19
     */
20
    public function isCrifEnabled(): bool
21
    {
22
        return (bool)$this->get(ComputopConstants::CRIF_ENABLED);
23
    }
24
}
25