protected function updateComposer($dir) {
		if(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN')
			$cmd = '"vendor/bin/composer.bat" update --working-dir "'.$dir.'"';
		else
			$cmd = './vendor/bin/composer update --working-dir "'.$dir.'"';
		return $this->runCommand($cmd);
	}
protected function updateComposer($dir) {
		if(strtoupper(substr(PHP_OS, 0, 3)) === 'WIN')
			$cmd = '"vendor/bin/composer.bat" update --working-dir "'.$dir.'"';
		else
			$cmd = './vendor/bin/composer update --working-dir "'.$dir.'"';
		return $this->runCommand($cmd);
	}
protected function updateComposer ( $ dir ) { if ( strtoupper ( substr ( PHP_OS , 0 , 3 ) ) === 'WIN' ) $ cmd = '"vendor/bin/composer.bat" update --working-dir "' . $ dir . '"' ; else $ cmd = './vendor/bin/composer update --working-dir "' . $ dir . '"' ; return $ this -> runCommand ( $ cmd ) ; }
Update composer.
@param  string $dir
@return boolean
Update composer .