Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
25 | 23 | public function execute($className, $methodName, ServerRequestInterface $request) |
|
26 | { |
||
27 | 23 | if (!method_exists($className, $methodName)) { |
|
28 | 1 | throw new HandlerNotFoundException($className, $methodName); |
|
29 | } |
||
30 | 22 | return call_user_func([$className, $methodName], $request); |
|
31 | } |
||
32 | } |
||
33 |