Open Journal Systems  3.3.0
Guzzle\Http\Curl\CurlVersion Class Reference

Public Member Functions

 get ($type)
 
 getAll ()
 

Static Public Member Functions

static getInstance ()
 

Protected Attributes

 $userAgent
 
 $version
 

Static Protected Attributes

static $instance
 

Detailed Description

Class used for querying curl_version data

Definition at line 8 of file CurlVersion.php.

Member Function Documentation

◆ get()

Guzzle\Http\Curl\CurlVersion::get (   $type)

Get a specific type of curl information

Parameters
string$typeVersion information to retrieve. This value is one of:
  • version_number: cURL 24 bit version number
  • version: cURL version number, as a string
  • ssl_version_number: OpenSSL 24 bit version number
  • ssl_version: OpenSSL version number, as a string
  • libz_version: zlib version number, as a string
  • host: Information about the host where cURL was built
  • features: A bitmask of the CURL_VERSION_XXX constants
  • protocols: An array of protocols names supported by cURL
Returns
string|float|bool if the $type is found, and false if not found

Definition at line 66 of file CurlVersion.php.

References Guzzle\Http\Curl\CurlVersion\$version, and Guzzle\Http\Curl\CurlVersion\getAll().

◆ getAll()

Guzzle\Http\Curl\CurlVersion::getAll ( )

Get all of the curl_version() data

Returns
array

Definition at line 42 of file CurlVersion.php.

References Guzzle\Http\Curl\CurlVersion\$version.

Referenced by Guzzle\Http\Curl\CurlVersion\get().

◆ getInstance()

Field Documentation

◆ $instance

Guzzle\Http\Curl\CurlVersion::$instance
staticprotected

Definition at line 18 of file CurlVersion.php.

Referenced by Guzzle\Http\Curl\CurlVersion\getInstance().

◆ $userAgent

CurlVersion Guzzle\Http\Curl\CurlVersion::$userAgent
protected

Definition at line 23 of file CurlVersion.php.

◆ $version

array Guzzle\Http\Curl\CurlVersion::$version
protected

curl_version() information

Definition at line 14 of file CurlVersion.php.

Referenced by Guzzle\Http\Curl\CurlVersion\get(), and Guzzle\Http\Curl\CurlVersion\getAll().


The documentation for this class was generated from the following file: