src/AmazonPaymentBundle/lib/amazon/OffAmazonPaymentsService/Client.php
private function quoteApplicationVersion($s) {
	    $quotedString = $this->collapseWhitespace($s);
	    $quotedString = preg_replace('/\\\\/', '\\\\\\\\', $quotedString);
	    $quotedString = preg_replace('/\\(/', '\\(', $quotedString);
	
	    return $quotedString;
    }
private function quoteApplicationVersion($s) {
	    $quotedString = $this->collapseWhitespace($s);
	    $quotedString = preg_replace('/\\\\/', '\\\\\\\\', $quotedString);
	    $quotedString = preg_replace('/\\(/', '\\(', $quotedString);
	
	    return $quotedString;
    }
private function quoteApplicationVersion ( $ s ) { $ quotedString = $ this -> collapseWhitespace ( $ s ) ; $ quotedString = preg_replace ( '/\\\\/' , '\\\\\\\\' , $ quotedString ) ; $ quotedString = preg_replace ( '/\\(/' , '\\(' , $ quotedString ) ; return $ quotedString ; }
Collapse multiple whitespace characters into a single ' ' and backslash escape '\',
and '(' characters from a string.

@param $s
@return string
Collapse multiple whitespace characters into a single and backslash escape \ and ( characters from a string .