Completed
Push — master ( b44652...ac9cf3 )
by Andrii
03:25
created

OrderController   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 2
Bugs 0 Features 1
Metric Value
wmc 1
c 2
b 0
f 1
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 OrderController extends \hiapi\controllers\BaseController
6
{
7
    public function commands()
8
    {
9
        return array_merge(parent::commands(), [
10
            'ping' => [
11
                'class'  => \hiapi\commands\PingCommand::class,
12
                'answer' => 'order BANG',
13
            ],
14
        ]);
15
    }
16
}
17