상속: extends Piwik\Plugin\ConsoleCommand
 /**
  * @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);
 }
예제 #2
0
 /**
  * @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);
 }