public function execute(InputInterface $input, OutputInterface $output) { $backend = $input->getArgument('backend'); try { $this->backendManager->disableBackend($backend); $output->writeln("Chat Backend '" . $backend . "' is disabled."); } catch (BackendNotFoundException $e) { $output->writeln("<error>Chat Backend does not exists.</error>"); } }