PayPal\Core\PayPalHttpConnection::__construct PHP Method

__construct() public method

Default Constructor
public __construct ( PayPalHttpConfig $httpConfig, array $config )
$httpConfig PayPalHttpConfig
$config array
    public function __construct(PayPalHttpConfig $httpConfig, array $config)
    {
        if (!function_exists("curl_init")) {
            throw new PayPalConfigurationException("Curl module is not available on this system");
        }
        $this->httpConfig = $httpConfig;
        $this->logger = PayPalLoggingManager::getInstance(__CLASS__);
    }