You are here

public function Socket::fclose in reCAPTCHA 8.2

Same name and namespace in other branches
  1. 6.2 recaptcha-php/src/ReCaptcha/RequestMethod/Socket.php \ReCaptcha\RequestMethod\Socket::fclose()
  2. 7.2 recaptcha-php/src/ReCaptcha/RequestMethod/Socket.php \ReCaptcha\RequestMethod\Socket::fclose()

fclose

Return value

bool

See also

http://php.net/fclose

File

recaptcha-php/src/ReCaptcha/RequestMethod/Socket.php, line 100

Class

Socket
Convenience wrapper around native socket and file functions to allow for mocking.

Namespace

ReCaptcha\RequestMethod

Code

public function fclose() {
  return fclose($this->handle);
}