/** * @param OutputInterface $output * @param Query $query * @param string $name * @throws \Exception */ private function clean(OutputInterface $output, Query $query, $name) { $output->write("<info>clean {$name}:</info>"); $query->clean(); $output->writeln('<info> completed!</info>'); }
/** * @param Query $query * @param string $name * @throws \Exception */ private function clean(Query $query, $name) { $this->stdout("clean {$name}:", Console::FG_GREEN); $query->clean(); $this->stdout(" completed!\n", Console::FG_GREEN); }