function ProgressIndicator::determineBestFormat
1 call to ProgressIndicator::determineBestFormat()
- ProgressIndicator::__construct in vendor/
symfony/ console/ Helper/ ProgressIndicator.php
File
-
vendor/
symfony/ console/ Helper/ ProgressIndicator.php, line 201
Class
- ProgressIndicator
- @author Kevin Bond <kevinbond@gmail.com>
Namespace
Symfony\Component\Console\HelperCode
private function determineBestFormat() : string {
return match ($this->output
->getVerbosity()) { OutputInterface::VERBOSITY_VERBOSE => $this->output
->isDecorated() ? 'verbose' : 'verbose_no_ansi',
OutputInterface::VERBOSITY_VERY_VERBOSE, OutputInterface::VERBOSITY_DEBUG => $this->output
->isDecorated() ? 'very_verbose' : 'very_verbose_no_ansi',
default => $this->output
->isDecorated() ? 'normal' : 'normal_no_ansi',
};
}