public saveAs ( string $file, boolean $deleteTempFile = true ) : boolean | ||
$file | string | the file path used to save the uploaded file |
$deleteTempFile | boolean | whether to delete the temporary file after saving. If true, you will not be able to save the uploaded file again in the current request. |
return | boolean | true whether the file is saved successfully |