UpdateUserDisk
class UpdateUserDisk extends FormRequest
Properties
UserDisk | $disk | The user disk that should be updated. |
Methods
bool
authorize()
Determine if the user is authorized to make this request.
array
rules()
Get the validation rules that apply to the request.
array
getTypeValidationRules()
Get additional validation rules for a storage disk type.
void
prepareForValidation()
Prepare the data for validation.
array
getDiskOptions()
Get the storage disk options from the input of this request.
Details
at line 22
bool
authorize()
Determine if the user is authorized to make this request.
at line 34
array
rules()
Get the validation rules that apply to the request.
at line 46
array
getTypeValidationRules()
Get additional validation rules for a storage disk type.
at line 56
protected void
prepareForValidation()
Prepare the data for validation.
at line 67
array
getDiskOptions()
Get the storage disk options from the input of this request.