XMSG_DOWNLOAD_URL_ERROR
XMSG_DOWNLOAD_URL_ERROR = "Please check data file url is a valid url."
Downloads the data file from a provided URL.
__construct( $dataFile)
$dataFile |
parseHeaders( $rawHeaders) : array
Parse response header.
$rawHeaders |
saveDataFile( $inputStream, $content_type) : boolean
Saves the data file to a temporary file path. This file will be persisted to a permanent location if it is loaded into the API successfully.
$inputStream | ||
$content_type |
getHttpOptions() : array<mixed,array>
Prepare the http context options.
Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275