Passed
Pull Request — master (#809)
by Stanislav
06:02
created

ClickAndCollectExampleConfig   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getPickupShipmentTypeKey() 0 3 1
1
<?php
2
3
/**
4
 * This file is part of the Spryker Commerce OS.
5
 * For full license information, please view the LICENSE file that was distributed with this source code.
6
 */
7
8
declare(strict_types = 1);
9
10
namespace Pyz\Zed\ClickAndCollectExample;
11
12
use Spryker\Zed\ClickAndCollectExample\ClickAndCollectExampleConfig as SprykerClickAndCollectExampleConfig;
13
14
class ClickAndCollectExampleConfig extends SprykerClickAndCollectExampleConfig
15
{
16
    protected const SHIPMENT_TYPE_IN_CENTER_SERVICE = 'in-center-service';
17
18
    public function getPickupShipmentTypeKey(): string
19
    {
20
        return static::SHIPMENT_TYPE_IN_CENTER_SERVICE;
21
    }
22
}
23