You are here

public function CurlMultiHandler::__get in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php \GuzzleHttp\Handler\CurlMultiHandler::__get()

File

vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php, line 44

Class

CurlMultiHandler
Returns an asynchronous response using curl_multi_* functions.

Namespace

GuzzleHttp\Handler

Code

public function __get($name) {
  if ($name === '_mh') {
    return $this->_mh = curl_multi_init();
  }
  throw new \BadMethodCallException();
}