protected function getProgressBar($maxSteps, OutputInterface $output)
    {
        $progressBar = new ProgressBar($output, $maxSteps);
        $progressBar->setFormat(
            ' %current%/%max% [%bar%] %percent:3s%% %elapsed:6s%/%estimated:-6s% %memory:6s%'
        );

        return $progressBar;
    }
protected function getProgressBar($maxSteps, OutputInterface $output)
    {
        $progressBar = new ProgressBar($output, $maxSteps);
        $progressBar->setFormat(
            ' %current%/%max% [%bar%] %percent:3s%% %elapsed:6s%/%estimated:-6s% %memory:6s%'
        );

        return $progressBar;
    }
protected function getProgressBar ( $ maxSteps , OutputInterface $ output ) { $ progressBar = new ProgressBar ( $ output , $ maxSteps ) ; $ progressBar -> setFormat ( ' %current%/%max% [%bar%] %percent:3s%% %elapsed:6s%/%estimated:-6s% %memory:6s%' ) ; return $ progressBar ; }
Return configured progress bar helper.

@param int $maxSteps
@param \Symfony\Component\Console\Output\OutputInterface $output

@return \Symfony\Component\Console\Helper\ProgressBar
Return configured progress bar helper .