UploadFileRequest
extends BaseFileRequest
in package
Class UploadFileRequest.
Table of Contents
Methods
- authorize() : bool
- Determine if the user is authorized to make this request.
- rules() : array<string, mixed>
- Get the validation rules that apply to the request.
- validated() : mixed
- getStorageIdRule() : array<string|int, mixed>
- validateNullStorageId() : array<string|int, mixed>
Methods
authorize()
Determine if the user is authorized to make this request.
public
authorize() : bool
Return values
boolrules()
Get the validation rules that apply to the request.
public
rules() : array<string, mixed>
Return values
array<string, mixed>validated()
public
validated([mixed $key = null ][, mixed $default = null ]) : mixed
Parameters
- $key : mixed = null
- $default : mixed = null
getStorageIdRule()
protected
getStorageIdRule() : array<string|int, mixed>
Return values
array<string|int, mixed>validateNullStorageId()
protected
validateNullStorageId(array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
- $data : array<string|int, mixed>