You are here

private static function ProgressBar::initFormats in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/console/Helper/ProgressBar.php \Symfony\Component\Console\Helper\ProgressBar::initFormats()
2 calls to ProgressBar::initFormats()
ProgressBar::getFormatDefinition in vendor/symfony/console/Helper/ProgressBar.php
Gets the format for a given name.
ProgressBar::setFormatDefinition in vendor/symfony/console/Helper/ProgressBar.php
Sets a format for a given name.

File

vendor/symfony/console/Helper/ProgressBar.php, line 622

Class

ProgressBar
The ProgressBar provides helpers to display progress output.

Namespace

Symfony\Component\Console\Helper

Code

private static function initFormats() {
  return array(
    'normal' => ' %current%/%max% [%bar%] %percent:3s%%',
    'normal_nomax' => ' %current% [%bar%]',
    'verbose' => ' %current%/%max% [%bar%] %percent:3s%% %elapsed:6s%',
    'verbose_nomax' => ' %current% [%bar%] %elapsed:6s%',
    'very_verbose' => ' %current%/%max% [%bar%] %percent:3s%% %elapsed:6s%/%estimated:-6s%',
    'very_verbose_nomax' => ' %current% [%bar%] %elapsed:6s%',
    'debug' => ' %current%/%max% [%bar%] %percent:3s%% %elapsed:6s%/%estimated:-6s% %memory:6s%',
    'debug_nomax' => ' %current% [%bar%] %elapsed:6s% %memory:6s%',
  );
}