Completed
Push — master ( 04ceba...2dddc8 )
by Andrii
03:10
created

InCommandLocator   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getHandlerForCommand() 0 4 1
1
<?php
2
3
namespace hiapi\components;
4
5
use League\Tactician\Handler\Locator\HandlerLocator;
6
7
class InCommandLocator implements HandlerLocator
8
{
9
    public function getHandlerForCommand($class)
10
    {
11
        return $class::getHandler();
12
    }
13
}
14