public function setConsole($console)
public function setConsole($console)
Parameters
| PhutilConsole | $console |
Return
| wild |
private function getConsole()
private function getConsole()
Return
| wild |
public function setTotal($work)
public function setTotal($work)
Parameters
| $work |
Return
| wild |
public function setQuiet($quiet)
public function setQuiet($quiet)
Parameters
| $quiet |
Return
| wild |
public function update($work)
public function update($work)
Parameters
| $work |
Return
| wild |
private function redraw()
private function redraw()
Return
| wild |
public function draw()
public function draw()
Explicitly redraw the bar.
Normally, the progress bar is automatically redrawn periodically, but you may want to force it to draw.
For example, we force a draw after pre-filling the bar when resuming large file uploads in arc upload. Otherwise, the bar may sit at 0% until the first chunk completes.
Return
| wild |
public function done($clean_exit)
public function done($clean_exit)
Parameters
| $clean_exit |
Return
| wild |
private function eraseLine()
private function eraseLine()
Return
| wild |
private function getWidth()
private function getWidth()
Return
| wild |
public function __destruct()
public function __destruct()
Return
| wild |