src/Vatsimphp/Sync/AbstractSync.php
protected function initCurl()
    {
        if (empty($this->curl)) {
            $this->curl = curl_init();
            curl_setopt_array($this->curl, $this->curlOpts);
            $this->log->debug('cURL object initialized', $this->curlOpts);
        }
    }
protected function initCurl()
    {
        if (empty($this->curl)) {
            $this->curl = curl_init();
            curl_setopt_array($this->curl, $this->curlOpts);
            $this->log->debug('cURL object initialized', $this->curlOpts);
        }
    }
protected function initCurl ( ) { if ( empty ( $ this -> curl ) ) { $ this -> curl = curl_init ( ) ; curl_setopt_array ( $ this -> curl , $ this -> curlOpts ) ; $ this -> log -> debug ( 'cURL object initialized' , $ this -> curlOpts ) ; } }
Initialize curl resource.
Initialize curl resource .