You are here

public function Curl::close in reCAPTCHA 6.2

Same name and namespace in other branches
  1. 8.2 recaptcha-php/src/ReCaptcha/RequestMethod/Curl.php \ReCaptcha\RequestMethod\Curl::close()
  2. 7.2 recaptcha-php/src/ReCaptcha/RequestMethod/Curl.php \ReCaptcha\RequestMethod\Curl::close()

Parameters

resource $ch:

See also

http://php.net/curl_close

File

recaptcha-php/src/ReCaptcha/RequestMethod/Curl.php, line 70

Class

Curl
Convenience wrapper around the cURL functions to allow mocking.

Namespace

ReCaptcha\RequestMethod

Code

public function close($ch) {
  curl_close($ch);
}