Command/CreateResourceCommand.php
protected function createProgressBar(OutputInterface $output, $length = 10)
    {
        $progress = $this->getHelper('progress');
        $progress->setBarCharacter('<info>|</info>');
        $progress->setEmptyBarCharacter(' ');
        $progress->setProgressCharacter('|');

        $progress->start($output, $length);

        return $progress;
    }
protected function createProgressBar(OutputInterface $output, $length = 10)
    {
        $progress = $this->getHelper('progress');
        $progress->setBarCharacter('<info>|</info>');
        $progress->setEmptyBarCharacter(' ');
        $progress->setProgressCharacter('|');

        $progress->start($output, $length);

        return $progress;
    }
protected function createProgressBar ( OutputInterface $ output , $ length = 10 ) { $ progress = $ this -> getHelper ( 'progress' ) ; $ progress -> setBarCharacter ( '<info>|</info>' ) ; $ progress -> setEmptyBarCharacter ( ' ' ) ; $ progress -> setProgressCharacter ( '|' ) ; $ progress -> start ( $ output , $ length ) ; return $ progress ; }
Create progress bar

@param OutputInterface $output
@param int $length

@return ProgressHelper
Create progress bar