/** * @return bool */ private function getDebugOption() { if ($this->consoleIO->getInput() && $this->consoleIO->getInput()->hasOption('debug')) { return $this->consoleIO->getInput()->getOption('debug'); } else { return false; } }
/** * @deprecated since version 4.2, to be removed in 5.0 */ private function warnAboutDeprecatedOptions(array $options) { if (isset($options['charset']) && $options['charset']) { $this->io->writeln('<warning>You are using the deprecated option "charset". ' . 'UTF-8 is default now.</warning>'); } if (isset($options['deprecated']) && $options['deprecated']) { $this->io->writeln('<warning>You are using the deprecated option "deprecated". ' . 'Use "--annotation-groups=deprecated" instead</warning>'); } if (isset($options['todo']) && $options['todo']) { $this->io->writeln('<warning>You are using the deprecated option "todo". Use "--annotation-groups=todo" instead</warning>'); } if (isset($options['skipDocPath']) && $options['skipDocPath']) { $this->io->writeln('<warning>You are using the deprecated option "skipDocPath". Use "exclude" instead.</warning>'); } }
/** * {@inheritdoc} */ public function run(InputInterface $input = null, OutputInterface $output = null) { return parent::run($this->io->getInput(), $this->io->getOutput()); }