If this class' supportsChunkDownload returns false you should assume
that the $from and $to parameters will be ignored.
public downloadAndReturn ( string $url, integer $from = null, integer $to = null, array $params = [] ) : string | ||
$url | string | The remote file's URL |
$from | integer | Byte range to start downloading from. Use null for start of file. |
$to | integer | Byte range to stop downloading. Use null to download the entire file ($from is ignored) |
$params | array | Additional params that will be added before performing the download |
Результат | string | The raw file data retrieved from the remote URL. |