code/Outputter.php
public function updateProgress($text) {
		$text = self::format($text);
		if($this->progressValue) {
			$len = strlen($this->progressValue);
			fwrite(STDOUT, "\033[{$len}D");
		}
		$this->progressValue = $text;

		fwrite(STDOUT, $this->progressValue);
	}
public function updateProgress($text) {
		$text = self::format($text);
		if($this->progressValue) {
			$len = strlen($this->progressValue);
			fwrite(STDOUT, "\033[{$len}D");
		}
		$this->progressValue = $text;

		fwrite(STDOUT, $this->progressValue);
	}
public function updateProgress ( $ text ) { $ text = self :: format ( $ text ) ; if ( $ this -> progressValue ) { $ len = strlen ( $ this -> progressValue ) ; fwrite ( STDOUT , "\033[{$len}D" ) ; } $ this -> progressValue = $ text ; fwrite ( STDOUT , $ this -> progressValue ) ; }
Updates the output with new text

@param  string $text
Updates the output with new text