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