Completed
Push — master ( 8d2491...197e00 )
by recca
04:45
created

EcpayLogisticsCvsGatewayFactory::populateConfig()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 8
ccs 0
cts 7
cp 0
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 5
nc 1
nop 1
crap 2
1
<?php
2
3
namespace PayumTW\Ecpay;
4
5
use Payum\Core\Bridge\Spl\ArrayObject;
6
7
class EcpayLogisticsCvsGatewayFactory extends EcpayLogisticsGatewayFactory
8
{
9
    /**
10
     * {@inheritdoc}
11
     */
12
    protected function populateConfig(ArrayObject $config)
13
    {
14
        parent::populateConfig($config);
15
        $config->defaults([
16
            'payum.factory_name' => 'ecpay_logistics_cvs',
17
            'payum.factory_title' => 'Ecpay Logistics CVS',
18
        ]);
19
    }
20
}
21