Completed
Push — master ( 230860...3d28fc )
by Andrii
12:04
created

AbstractServerPurchase   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 2
dl 0
loc 10
ccs 0
cts 4
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A from() 0 4 1
1
<?php
2
3
/*
4
 * Server module for HiPanel
5
 *
6
 * @link      https://github.com/hiqdev/hipanel-module-server
7
 * @package   hipanel-module-server
8
 * @license   BSD-3-Clause
9
 * @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
10
 */
11
12
namespace hipanel\modules\server\cart;
13
14
/**
15
 * Abstract class AbstractServerPurchase.
16
 */
17
abstract class AbstractServerPurchase extends \hipanel\modules\finance\cart\AbstractPurchase
18
{
19
    use \hipanel\base\ModelTrait;
20
21
    /** {@inheritdoc} */
22
    public static function from()
23
    {
24
        return 'server';
25
    }
26
}
27