AbstractServerPurchase   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 8
c 0
b 0
f 0
ccs 0
cts 3
cp 0
rs 10

1 Method

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