| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function __invoke(ContainerInterface $container, $requestedName, ?array $options = null) |
||
| 18 | { |
||
| 19 | $cliApplication = new Application('AsseticBundle', '3.x'); |
||
| 20 | |||
| 21 | $cliApplication->add(new BuildCommand($container->get('AsseticService'))); |
||
| 22 | $cliApplication->add(new SetupCommand($container->get('AsseticService'))); |
||
| 23 | |||
| 24 | return $cliApplication; |
||
| 25 | } |
||
| 27 |