예제 #1
0
 /**
  * Configure output console parameters.
  *
  * @param StreamOutput $console
  */
 protected function configureOutputConsole(StreamOutput $console)
 {
     $console->setVerbosity($this->parameters->get('verbose') ? StreamOutput::VERBOSITY_VERBOSE : StreamOutput::VERBOSITY_NORMAL);
     $console->getFormatter()->setDecorated($this->parameters->get('decorated'));
 }
 /**
  * Configure output console parameters.
  *
  * @param StreamOutput $console
  */
 protected function configureOutputConsole(StreamOutput $console)
 {
     $verbosity = $this->verbosityLevel ? StreamOutput::VERBOSITY_VERBOSE : StreamOutput::VERBOSITY_NORMAL;
     $console->setVerbosity($verbosity);
     if (null !== $this->outputDecorated) {
         $console->getFormatter()->setDecorated($this->outputDecorated);
     }
 }