phprs\util\Curl::__construct PHP Метод

__construct() публичный Метод

public __construct ( )
    public function __construct()
    {
        $this->ch = curl_init();
        if (!file_exists('/dev/null')) {
            curl_setopt($this->ch, CURLOPT_COOKIEJAR, 'NUL');
        } else {
            curl_setopt($this->ch, CURLOPT_COOKIEJAR, '/dev/null');
        }
    }