OP\RemoteAssetDownloadFilesController::temporaryFile
builds a temporay file, and sets it to be deleted after the script has ended.
Signature
public function temporaryFile(string
$name,
mixed
$content )
Parameters
$name
— string- name of file
$content
— mixed- content to go inside file
Returns
- string
- name of temporay file