public function clear() { if (!$this->overwrite) { return; } if (null === $this->format) { $this->setRealFormat($this->internalFormat ?: $this->determineBestFormat()); } $this->overwrite(''); }
private function cleanProgressbar() { if ($this->progress !== null && $this->progress->getStartTime() !== null) { $this->progress->clear(); $this->output->writeln(""); } }