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
float getProgressPercent() Gets the current progress bar percent. Return Value float The current progress bar percent
int getStartTime() Gets the progress bar start time. Return Value int The progress bar start time
setBarCharacter(string $char) Sets the bar character. Parameters string $char A character
string getProgressCharacter() Gets the progress bar character. Return Value string A character
setBarWidth(int $size) Sets the progress bar width. Parameters int $size The progress bar size
getMessage($name = 'message') Parameters $name
int getProgress() Gets the current step position. Return Value int The progress bar step
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
static callable|null getPlaceholderFormatterDefinition(string $name) Gets the placeholder formatter for a given name. Parameters string $name The placeholder name (including the delimiter char like %) Return Value callable|null A PHP callable
Page 226 of 787