PayPal\Core\PPHttpConnection::__construct PHP Method

__construct() public method

public __construct ( $httpConfig, $config )
    public function __construct($httpConfig, $config)
    {
        if (!function_exists("curl_init")) {
            throw new PPConfigurationException("Curl module is not available on this system");
        }
        $this->httpConfig = $httpConfig;
        $this->logger = new PPLoggingManager(__CLASS__, $config);
    }