public function getProgress($total = null)
    {
        if (!$this->progress || $this->progress->getMaxSteps() === $this->progress->getProgress()) {
            $this->progress = new ProgressBar($this->output, $total);
        }

        return $this->progress;
    }
public function getProgress($total = null)
    {
        if (!$this->progress || $this->progress->getMaxSteps() === $this->progress->getProgress()) {
            $this->progress = new ProgressBar($this->output, $total);
        }

        return $this->progress;
    }
public function getProgress ( $ total = null ) { if ( ! $ this -> progress || $ this -> progress -> getMaxSteps ( ) === $ this -> progress -> getProgress ( ) ) { $ this -> progress = new ProgressBar ( $ this -> output , $ total ) ; } return $ this -> progress ; }
Get progress bar instance

@param integer $total

@return ProgressBar
Get progress bar instance