Method |
Description |
|
fileAsDownload ( string $fileName, string $realFileName ) : string |
Provides a URL for the file as a download. |
|
fileAsPublicAsset ( string $fileName ) : string |
Provide a URL for the file as a public asset. |
|
filePreview ( string $fileName ) : string |
Provide a URL for the file as a public preview. |
|
getFileClass ( string $file ) : string |
Generate a name from the file path. |
|
saveClone ( string $fileName, $directory = '', $fileTypes = [] ) : array |
Saves File. |
|
saveFile ( string $fileName, $directory = '', $fileTypes = [] ) : array |
Saves File. |
|