StoreStorageRequestFile
class StoreStorageRequestFile extends FormRequest
Properties
StorageRequest | $storageRequest | Storage request to which the file should be uploaded. |
|
StorageRequestFile | $storageRequestFile | The file that belongs to a chunked upload (if any). |
|
$chunkOrFileExists |
Methods
Determine if the user is authorized to make this request.
Get the validation rules that apply to the request.
Prepare the data for validation.
Configure the validator instance.
Get the full path where the file should be stored.
Sanitize the path prefix.
Determine if the file is a chunked upload.
Details
at line 38
bool
authorize()
Determine if the user is authorized to make this request.
at line 50
array
rules()
Get the validation rules that apply to the request.
at line 74
protected void
prepareForValidation()
Prepare the data for validation.
at line 90
void
withValidator(Validator $validator)
Configure the validator instance.
at line 196
string
getFilePath()
Get the full path where the file should be stored.
at line 213
string
sanitizePrefix(string $prefix)
Sanitize the path prefix.
at line 228
bool
isChunked()
Determine if the file is a chunked upload.