setFormat(string $format) Sets the progress bar format. Parameters string $format The format
setEmptyBarCharacter(string $char) Sets the empty bar character. Parameters string $char A character
setCurrent(int $current, bool $redraw = false) Sets the current progress. Parameters int $current The current progress bool $redraw Whether to redraw or not Exceptions LogicException
setBarWidth(int $size) Sets the progress bar width. Parameters int $size The progress bar size
setBarCharacter(string $char) Sets the bar character. Parameters string $char A character
string getName() Returns the canonical name of this helper. Return Value string The canonical name
finish() Finishes the progress output.
display(bool $finish = false) Outputs the current progress string. Parameters bool $finish Forces the end result Exceptions LogicException
clear() Removes the progress bar from the current line. This is useful if you wish to write some output while a progress bar is running. Call display() to show the progress bar again.
advance(int $step = 1, bool $redraw = false) Advances the progress output X steps. Parameters int $step Number of steps to advance bool $redraw Whether to redraw or not Exceptions LogicException
Page 224 of 787