| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | public function configure(ContainerInterface $container) |
||
| 21 | { |
||
| 22 | /* @var ContainerResolver $resolver */ |
||
| 23 | $resolver = $container->get(ContainerResolver::class); |
||
| 24 | $container->extend(CommandCollection::class, function(CommandCollection $collection) use($resolver){ |
||
| 25 | /* @var GenerateDeployCommand $cmd */ |
||
| 26 | $cmd = $resolver->createInstance(GenerateDeployCommand::class); |
||
| 27 | $collection->addCommand($cmd); |
||
| 28 | |||
| 29 | return $collection; |
||
| 30 | }); |
||
| 32 | } |