function ProgressIndicator::display
4 calls to ProgressIndicator::display()
- ProgressIndicator::advance in vendor/
symfony/ console/ Helper/ ProgressIndicator.php - Advances the indicator.
- ProgressIndicator::finish in vendor/
symfony/ console/ Helper/ ProgressIndicator.php - Finish the indicator with message.
- ProgressIndicator::setMessage in vendor/
symfony/ console/ Helper/ ProgressIndicator.php - Sets the current indicator message.
- ProgressIndicator::start in vendor/
symfony/ console/ Helper/ ProgressIndicator.php - Starts the indicator output.
File
-
vendor/
symfony/ console/ Helper/ ProgressIndicator.php, line 186
Class
- ProgressIndicator
- @author Kevin Bond <kevinbond@gmail.com>
Namespace
Symfony\Component\Console\HelperCode
private function display() : void {
if (OutputInterface::VERBOSITY_QUIET === $this->output
->getVerbosity()) {
return;
}
$this->overwrite(preg_replace_callback('{%([a-z\\-_]+)(?:\\:([^%]+))?%}i', function ($matches) {
if ($formatter = self::getPlaceholderFormatterDefinition($matches[1])) {
return $formatter($this);
}
return $matches[0];
}, $this->format ?? ''));
}