You are here

public function EasyHandle::__get in Zircon Profile 8

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

File

vendor/guzzlehttp/guzzle/src/Handler/EasyHandle.php, line 80

Class

EasyHandle
Represents a cURL easy handle and the data it populates.

Namespace

GuzzleHttp\Handler

Code

public function __get($name) {
  $msg = $name === 'handle' ? 'The EasyHandle has been released' : 'Invalid property: ' . $name;
  throw new \BadMethodCallException($msg);
}