| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 15 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 6 | 
| CRAP Score | 1 | 
| Changes | 2 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 19 | 2 | * @return CommandHandlerMiddleware  | 
            |
| 20 | */  | 
            ||
| 21 | 2 | public function __invoke(ContainerInterface $container, $requestedName, array $options = null)  | 
            |
| 22 |     { | 
            ||
| 23 |         $config = $container->get('config')['tactician']; | 
            ||
| 24 | 2 | ||
| 25 | /** @var CommandNameExtractor $extractor */  | 
            ||
| 26 | $extractor = $container->get($config['default-extractor']);  | 
            ||
| 27 | 2 | ||
| 28 | /** @var HandlerLocator $locator */  | 
            ||
| 29 | $locator = $container->get($config['default-locator']);  | 
            ||
| 30 | 2 | ||
| 31 | /** @var MethodNameInflector $inflector */  | 
            ||
| 32 | 2 | $inflector = $container->get($config['default-inflector']);  | 
            |
| 33 | |||
| 34 | return new CommandHandlerMiddleware($extractor, $locator, $inflector);  | 
            ||
| 37 |