Example #1
0
 /**
  * @inheritdoc
  */
 public function handle($line)
 {
     $this->lazyOutputInit();
     if ($this->output instanceof OutputInterface) {
         return $this->output->handle($line);
     }
     if ($this->output instanceof Closure) {
         return $this->output->__invoke($line);
     }
     return $line;
 }