library/Garp/Cli/Ui.php
public function advance($newValue = null) {
        if (!is_null($newValue)) {
            $this->_currentValue = $newValue;
            return;
        }

        $this->_currentValue++;
    }
public function advance($newValue = null) {
        if (!is_null($newValue)) {
            $this->_currentValue = $newValue;
            return;
        }

        $this->_currentValue++;
    }
public function advance ( $ newValue = null ) { if ( ! is_null ( $ newValue ) ) { $ this -> _currentValue = $ newValue ; return ; } $ this -> _currentValue ++ ; }
Advances the progress bar by 1 step, if no argument is provided.
Otherwise, the progress bar is set to the provided value.

@param int $newValue The new value. Leave empty to advance 1 step.
This will be compared to $this->_totalValue.
@return void
Advances the progress bar by 1 step if no argument is provided . Otherwise the progress bar is set to the provided value .