/** * @param InputInterface $input * @param OutputInterface $output * @return array * @throws \RunTimeException */ protected function getPluginName(InputInterface $input, OutputInterface $output) { $pluginNames = $this->getPluginNamesHavingNotSpecificFile('Controller.php'); $invalidName = 'You have to enter the name of an existing plugin which does not already have a Controller'; return parent::getPluginName($input, $output, $pluginNames, $invalidName); }
/** * @param InputInterface $input * @param OutputInterface $output * @return array * @throws \RunTimeException */ protected function getPluginName(InputInterface $input, OutputInterface $output) { $pluginNames = $this->getPluginNames(); $invalidName = 'You have to enter the name of an existing plugin'; return parent::getPluginName($input, $output, $pluginNames, $invalidName); }