Total Complexity | 5 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | final class QueryInflector implements MethodNameInflector |
||
23 | { |
||
24 | /** |
||
25 | * Return the method name to call on the command handler and return it. |
||
26 | * |
||
27 | * @param mixed $command |
||
28 | * @param mixed $handler |
||
29 | * |
||
30 | * @throws InvalidQueryException |
||
31 | * @throws InvalidQueryHandlerException |
||
32 | */ |
||
33 | public function inflect($command, $handler): string |
||
54 |