Phue\Transport\Adapter\Curl::__construct PHP Method

__construct() public method

Constructs a cURL adapter
public __construct ( )
    public function __construct()
    {
        // Throw exception if cURL extension is not loaded
        if (!extension_loaded('curl')) {
            throw new \BadFunctionCallException('The cURL extension is required.');
        }
    }