protected function getProgressBar(Collection $models)
    {
        $output = $this->output ?: new NullOutput();
        $progress = new ProgressBar($output, $models->count());

        return $progress;
    }
protected function getProgressBar(Collection $models)
    {
        $output = $this->output ?: new NullOutput();
        $progress = new ProgressBar($output, $models->count());

        return $progress;
    }
protected function getProgressBar ( Collection $ models ) { $ output = $ this -> output ? : new NullOutput ( ) ; $ progress = new ProgressBar ( $ output , $ models -> count ( ) ) ; return $ progress ; }
Get an instance of the ProgressBar helper.

@param Collection $models

@return ProgressBar
Get an instance of the ProgressBar helper .