src/TerminalObject/Dynamic/Progress.php
protected function shouldRedraw($percentage, $label)
    {
        return ($this->force_redraw || $percentage != $this->current_percentage || $label != $this->label);
    }
protected function shouldRedraw($percentage, $label)
    {
        return ($this->force_redraw || $percentage != $this->current_percentage || $label != $this->label);
    }
protected function shouldRedraw ( $ percentage , $ label ) { return ( $ this -> force_redraw || $ percentage != $ this -> current_percentage || $ label != $ this -> label ) ; }
Determine whether the progress bar has changed and we need to redrew

@param string $percentage
@param string $label

@return boolean
Determine whether the progress bar has changed and we need to redrew