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