function ProgressIndicator::start
Starts the indicator output.
File
-
vendor/
symfony/ console/ Helper/ ProgressIndicator.php, line 88
Class
- ProgressIndicator
- @author Kevin Bond <kevinbond@gmail.com>
Namespace
Symfony\Component\Console\HelperCode
public function start(string $message) : void {
if ($this->started) {
throw new LogicException('Progress indicator already started.');
}
$this->message = $message;
$this->started = true;
$this->finished = false;
$this->startTime = time();
$this->indicatorUpdateTime = $this->getCurrentTimeInMilliseconds() + $this->indicatorChangeInterval;
$this->indicatorCurrent = 0;
$this->display();
}