Completed
Push — master ( 2dddc8...1df482 )
by Andrii
02:57
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
lcom 0
cbo 0
dl 0
loc 7
ccs 0
cts 0
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getHandlerForCommand() 0 4 1
1
<?php
2
3
namespace hiapi\bus;
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