protected function validateConnection () : bool
	{
		if (curl_exec($this->curlHandle)) return TRUE;
		$this->error = "An error has occurred: ".curl_error($this->curlHandle);
		return FALSE;			
	}
protected function validateConnection () : bool
	{
		if (curl_exec($this->curlHandle)) return TRUE;
		$this->error = "An error has occurred: ".curl_error($this->curlHandle);
		return FALSE;			
	}
protected function validateConnection ( ) : bool { if ( curl_exec ( $ this -> curlHandle ) ) return TRUE ; $ this -> error = "An error has occurred: " . curl_error ( $ this -> curlHandle ) ; return FALSE ; }
Validates the connection.
@return bool
Validates the connection .