Completed
Push — master ( ac9cf3...248640 )
by Andrii
05:51
created

PlanController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

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

1 Method

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