ProgressBar::getFormatDefinition()

static string|null getFormatDefinition(string $name) Gets the format for a given name. Parameters string $name The format name Return Value string|null A format string

ProgressBar::getEmptyBarCharacter()

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

ProgressBar::getBarWidth()

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

ProgressBar::getBarCharacter()

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

ProgressBar::finish()

finish() Finishes the progress output.

ProgressBar::display()

display() Outputs the current progress string.

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::advance()

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

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.

ProfilerStorageInterface::write()

bool write(Profile $profile) Saves a Profile. Parameters Profile $profile A Profile instance Return Value bool Write operation successful