| 1 | <?php |
||
| 22 | class ProgressBar implements ProgressBarInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var \Symfony\Component\Console\Helper\ProgressBar |
||
| 26 | */ |
||
| 27 | protected $progressBar = null; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * ProgressBar constructor. |
||
| 31 | * |
||
| 32 | * @param OutputInterface $output Console output |
||
| 33 | * @param int $maxSteps Maximum steps |
||
| 34 | */ |
||
| 35 | public function __construct(OutputInterface $output, $maxSteps = 100) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return \Symfony\Component\Console\Helper\ProgressBar |
||
| 43 | */ |
||
| 44 | public function getProgressBar() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * {@inheritdoc} |
||
| 51 | */ |
||
| 52 | public function finish() |
||
| 56 | } |
||
| 57 |