Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/console/Helper/ProgressBar.php @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
comparison
equal
deleted
inserted
replaced
13:5fb285c0d0e3 | 14:1fec387a4317 |
---|---|
20 * The ProgressBar provides helpers to display progress output. | 20 * The ProgressBar provides helpers to display progress output. |
21 * | 21 * |
22 * @author Fabien Potencier <fabien@symfony.com> | 22 * @author Fabien Potencier <fabien@symfony.com> |
23 * @author Chris Jones <leeked@gmail.com> | 23 * @author Chris Jones <leeked@gmail.com> |
24 */ | 24 */ |
25 class ProgressBar | 25 final class ProgressBar |
26 { | 26 { |
27 // options | |
28 private $barWidth = 28; | 27 private $barWidth = 28; |
29 private $barChar; | 28 private $barChar; |
30 private $emptyBarChar = '-'; | 29 private $emptyBarChar = '-'; |
31 private $progressChar = '>'; | 30 private $progressChar = '>'; |
32 private $format; | 31 private $format; |
33 private $internalFormat; | 32 private $internalFormat; |
34 private $redrawFreq = 1; | 33 private $redrawFreq = 1; |
35 | |
36 /** | |
37 * @var OutputInterface | |
38 */ | |
39 private $output; | 34 private $output; |
40 private $step = 0; | 35 private $step = 0; |
41 private $max; | 36 private $max; |
42 private $startTime; | 37 private $startTime; |
43 private $stepWidth; | 38 private $stepWidth; |