| Conditions | 2 |
| Paths | 3 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 37 | public function execute(InputInterface $input, OutputInterface $output){ |
||
| 38 | $backend = $input->getArgument('backend'); |
||
| 39 | try { |
||
| 40 | $this->backendManager->enableBackend($backend); |
||
| 41 | $output->writeln("Chat Backend '". $backend . "' is enabled."); |
||
| 42 | } Catch (BackendNotFoundException $e) { |
||
| 43 | $output->writeln("<error>Chat Backend does not exists.</error>"); |
||
| 44 | } |
||
| 45 | } |
||
| 46 | |||
| 47 | } |