public function RequestParameters::toQueryString in reCAPTCHA 7.2
Same name and namespace in other branches
- 8.2 recaptcha-php/src/ReCaptcha/RequestParameters.php \ReCaptcha\RequestParameters::toQueryString()
- 6.2 recaptcha-php/src/ReCaptcha/RequestParameters.php \ReCaptcha\RequestParameters::toQueryString()
Query string representation for HTTP request.
Return value
string Query string formatted parameters.
File
- recaptcha-php/
src/ ReCaptcha/ RequestParameters.php, line 99
Class
- RequestParameters
- Stores and formats the parameters for the request to the reCAPTCHA service.
Namespace
ReCaptchaCode
public function toQueryString() {
return http_build_query($this
->toArray(), '', '&');
}