Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
41 | public function getDefinitions() |
||
42 | { |
||
43 | return [ |
||
44 | 1 | CommandBus::class => function () { |
|
45 | return new TacticianBus( |
||
46 | $this->container, |
||
47 | [ |
||
48 | new CommandHandlerMiddleware( |
||
49 | new ClassNameExtractor(), |
||
50 | new HandlerLocator($this->container), |
||
51 | new HandleInflector() |
||
52 | ) |
||
53 | ] |
||
54 | ); |
||
55 | 1 | } |
|
56 | ]; |
||
57 | } |
||
58 | } |
||
59 |