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.

Return Value

bool

at line 34
array rules()

Get the validation rules that apply to the request.

Return Value

array

at line 46
array getTypeValidationRules()

Get additional validation rules for a storage disk type.

Return Value

array

at line 56
protected void prepareForValidation()

Prepare the data for validation.

Return Value

void

at line 67
array getDiskOptions()

Get the storage disk options from the input of this request.

Return Value

array