ProgressBar::getMaxSteps()

int getMaxSteps() Gets the progress bar maximal steps. Return Value int The progress bar max steps

ProgressBar::getBarWidth()

int getBarWidth() Gets the progress bar width. Return Value int The progress bar size

ProgressBar::finish()

finish() Finishes the progress output.

ProgressBar::display()

display() Outputs the current progress string.

ProgressBar::getBarCharacter()

string getBarCharacter() Gets the bar character. Return Value string A character

ProgressBar::getEmptyBarCharacter()

string getEmptyBarCharacter() Gets the empty bar character. Return Value string A character

ProgressBar::clear()

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.

ProgressBar

class ProgressBar The ProgressBar provides helpers to display progress output. Methods __construct(OutputInterface $output, int $max) Constructor. static setPlaceholderFormatterDefinition(string $name, callable $callable) Sets a placeholder formatter for a given name. static callable|null getPlaceholderFormatterDefinition(string $name) Gets the placeholder formatter for a given name. static setFormatDefinition(string $name, string $format) Sets a format for a given name.

ProgressBar::advance()

advance(int $step = 1) Advances the progress output X steps. Parameters int $step Number of steps to advance Exceptions LogicException

ProfilerStorageInterface::read()

Profile read(string $token) Reads data associated with the given token. The method returns false if the token does not exist in the storage. Parameters string $token A token Return Value Profile The profile associated with token