| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | 1 | public function __invoke(ContainerInterface $container, $requestedName, array $options = null): CommandHandler |
|
| 15 | { |
||
| 16 | 1 | $commandHandler = new CommandHandler($container); |
|
| 17 | |||
| 18 | 1 | $logger = $container->get('Logger'); |
|
| 19 | |||
| 20 | 1 | $commandHandler->setLogger($logger); |
|
| 21 | |||
| 22 | 1 | return $commandHandler; |
|
| 23 | } |
||
| 25 |