$directory
$directory : string
目录路径
Class FileSystem
putFile(\App\Http\Requests\Admin\FileSystem\UploadRequest $request, string $key = 'file') : mixed
上传文件
\App\Http\Requests\Admin\FileSystem\UploadRequest | $request | |
string | $key |
putFileAs(\App\Http\Requests\Admin\FileSystem\UploadRequest $request, string $key = 'file', string|null $fileName = null) : mixed
指定文件名上传文件
\App\Http\Requests\Admin\FileSystem\UploadRequest | $request | |
string | $key | |
string|null | $fileName |
setDirectory(string $directory) : \App\Util\FileSystem
string | $directory |
setDisk() : \App\Util\FileSystem
setDiskName(string $diskName) : \App\Util\FileSystem
string | $diskName |