public static function CurlVersion::getInstance

Get the singleton instance of the CurlVersion object

Return value

CurlVersion

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Curl/CurlVersion.php, line 30

Class

CurlVersion
Class used for querying curl_version data

Namespace

Guzzle\Http\Curl

Code

public static function getInstance() {
  if (!self::$instance) {
    self::$instance = new self();
  }
  return self::$instance;
}