src/Vatsimphp/Sync/AbstractSync.php
protected function getDataFromCurl()
    {
        $data = curl_exec($this->curl);
        if (curl_errno($this->curl)) {
            $this->addError(curl_getinfo($this->curl, CURLINFO_EFFECTIVE_URL), curl_error($this->curl));

            return false;
        }

        return $data;
    }
protected function getDataFromCurl()
    {
        $data = curl_exec($this->curl);
        if (curl_errno($this->curl)) {
            $this->addError(curl_getinfo($this->curl, CURLINFO_EFFECTIVE_URL), curl_error($this->curl));

            return false;
        }

        return $data;
    }
protected function getDataFromCurl ( ) { $ data = curl_exec ( $ this -> curl ) ; if ( curl_errno ( $ this -> curl ) ) { $ this -> addError ( curl_getinfo ( $ this -> curl , CURLINFO_EFFECTIVE_URL ) , curl_error ( $ this -> curl ) ) ; return false ; } return $ data ; }
Load data from curl resource.

@codeCoverageIgnore

@return false|string
Load data from curl resource .