Completed
Push — master ( 1cdde8...6d8ac3 )
by Andrii
03:17
created

BillController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A commands() 0 8 1
1
<?php
2
3
namespace hiqdev\billing\hiapi\controllers;
4
5
use hiqdev\php\billing\Bill;
6
7
class BillController extends \hiapi\controllers\BaseController
8
{
9
    protected $entityClass = Bill::class;
10
11
    public function commands()
12
    {
13
        return array_merge(parent::commands(), [
14
            'search' => [
15
                'class'  => \hiapi\commands\SearchCommand::class,
16
            ],
17
        ]);
18
    }
19
}
20