| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 44 | public function execute(InputInterface $input, OutputInterface $output) { |
||
| 45 | $config_paths = $input->getArgument("configs"); |
||
| 46 | if (count($config_paths) == 0) { |
||
| 47 | $output->writeLn("<error>You need to give the path to at least one config.</error>"); |
||
| 48 | return; |
||
| 49 | } |
||
| 50 | $config = $this->load_config($config_paths); |
||
| 51 | $dic = $this->build_dic($config); |
||
| 52 | $this->configure_runtime($config); |
||
| 53 | $dic["engine"]->run(); |
||
| 54 | } |
||
| 55 | } |
||
| 56 |