Example #1
0
 /**
  * @inheritdoc
  */
 public function prependLine($prepend, $useHandle = false)
 {
     $this->lazyOutputInit();
     if ($this->output instanceof Closure && $useHandle) {
         $ret = $this->output->__invoke($prepend);
     } else {
         $ret = $this->output->prepend($prepend, $useHandle);
     }
     $this->prependLine = $this->prependLine === null ? $ret : ($this->prependLine .= $ret);
     return $this;
 }