RemoteFile
class RemoteFile (View source)
The remote file class.
Properties
private | $localCopy | The local copy in the downloads directory of the external file. |
Methods
__construct(string $url)
The constructor.
string
getLocalCopy()
Returns the local copy's path.
string
download(string $url)
Downloads the remote file to the cache/downloads directory.