public function increment($num = 1)
    {
        $this->_progress = min(max(0, $this->_progress + $num), $this->_total);

        return $this;
    }
public function increment($num = 1)
    {
        $this->_progress = min(max(0, $this->_progress + $num), $this->_total);

        return $this;
    }
public function increment ( $ num = 1 ) { $ this -> _progress = min ( max ( 0 , $ this -> _progress + $ num ) , $ this -> _total ) ; return $ this ; }
Increment the progress bar.

@param int $num The amount of progress to advance by.
@return $this
Increment the progress bar .