public function start(string
$message) { if ($this->started
) { throw new LogicException('Progress indicator already started.'
);
} $this->message =
$message;
$this->started = true;
$this->startTime =
time();
$this->indicatorUpdateTime =
$this->
getCurrentTimeInMilliseconds() +
$this->indicatorChangeInterval;
$this->indicatorCurrent = 0;
$this->
display();
} /**
* Advances the indicator.
*
* @return void
*/
public function advance() {