ProgressIndicator
class ProgressIndicator (View source)
Wrapper around \Symfony\Component\Console\Helper\ProgressBar
Traits
Properties
protected TimeKeeper|null | $timer | from Timer | |
protected ProgressBar | $progressBar | ||
protected OutputInterface | $output | ||
protected bool | $progressIndicatorRunning | ||
protected int | $autoDisplayInterval | ||
protected int | $cachedSteps | ||
protected int | $totalSteps | ||
protected bool | $progressBarDisplayed | ||
protected TaskInterface | $owner |
Methods
__construct(ProgressBar $progressBar, OutputInterface $output)
No description
setProgressBarAutoDisplayInterval(int $interval)
No description
bool
hideProgressIndicator()
No description
showProgressIndicator()
No description
restoreProgressIndicator(bool $visible)
No description
autoShowProgressIndicator()
No description
bool
inProgress()
No description
cleanup()
No description
disableProgressIndicator()
Erase progress indicator and ensure it never returns. Used only during error handlers or to permanently remove the progress bar.
advanceProgressIndicator(int $steps = 1)
No description
advanceProgressIndicatorCachedSteps()
No description
Details
in
Timer at line 12
protected
startTimer()
No description
in
Timer at line 20
protected
stopTimer()
No description
in
Timer at line 28
protected
resetTimer()
No description
in
Timer at line 36
protected float|null
getExecutionTime()
No description
__construct(ProgressBar $progressBar, OutputInterface $output)
No description
setProgressBarAutoDisplayInterval(int $interval)
No description
bool
hideProgressIndicator()
No description
showProgressIndicator()
No description
restoreProgressIndicator(bool $visible)
No description
startProgressIndicator(int $totalSteps, TaskInterface $owner)
No description
autoShowProgressIndicator()
No description
bool
inProgress()
No description
stopProgressIndicator(TaskInterface $owner)
No description
protected
cleanup()
No description
disableProgressIndicator()
Erase progress indicator and ensure it never returns. Used only during error handlers or to permanently remove the progress bar.
advanceProgressIndicator(int $steps = 1)
No description
protected
advanceProgressIndicatorCachedSteps()
No description