예제 #1
0
 /**
  * @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>');
 }
예제 #2
0
 /**
  * @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);
 }