ProgressHelper deprecated

class ProgressHelper extends Helper deprecated since version 2.5, to be removed in 3.0 Use {@link ProgressBar} instead. The Progress class provides helpers to display progress output. Constants FORMAT_QUIET FORMAT_NORMAL FORMAT_VERBOSE FORMAT_QUIET_NOMAX FORMAT_NORMAL_NOMAX FORMAT_VERBOSE_NOMAX Methods setHelperSet(HelperSet $helperSet = null) Sets the helper set associated with this helper. from Helper HelperSet getHelperSet() Gets the helper set associ

ProgressBar::start()

start(int|null $max = null) Starts the progress output. Parameters int|null $max Number of steps to complete the bar (0 if indeterminate), null to leave unchanged

ProgressBar::setRedrawFrequency()

setRedrawFrequency(int|float $freq) Sets the redraw frequency. Parameters int|float $freq The frequency in steps

ProgressBar::setProgressCharacter()

setProgressCharacter(string $char) Sets the progress bar character. Parameters string $char A character

ProgressBar::setProgress()

setProgress(int $step) Sets the current progress. Parameters int $step The current progress Exceptions LogicException

ProgressBar::setPlaceholderFormatterDefinition()

static setPlaceholderFormatterDefinition(string $name, callable $callable) Sets a placeholder formatter for a given name. This method also allow you to override an existing placeholder. Parameters string $name The placeholder name (including the delimiter char like %) callable $callable A PHP callable

ProgressBar::setOverwrite()

setOverwrite(bool $overwrite) Sets whether to overwrite the progressbar, false for new line. Parameters bool $overwrite

ProgressBar::setMessage()

setMessage(string $message, string $name = 'message') Associates a text with a named placeholder. The text is displayed when the progress bar is rendered but only when the corresponding placeholder is part of the custom format line (by wrapping the name with %). Parameters string $message The text to associate with the placeholder string $name The name of the placeholder

ProgressBar::setFormatDefinition()

static setFormatDefinition(string $name, string $format) Sets a format for a given name. This method also allow you to override an existing format. Parameters string $name The format name string $format A format string

ProgressBar::setFormat()

setFormat(string $format) Sets the progress bar format. Parameters string $format The format