class UpdateUser extends FormRequest

Properties

User $user The user to update.

Methods

bool
authorize()

Determine if the user is authorized to make this request.

array
rules()

Get the validation rules that apply to the request.

void
withValidator(Validator $validator)

Configure the validator instance.

void
prepareForValidation()

Prepare the data for validation.

user
getUpdateUser()

Get the user instance to update;

Details

at line 24
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 62
void withValidator(Validator $validator)

Configure the validator instance.

Parameters

Validator $validator

Return Value

void

at line 76
protected void prepareForValidation()

Prepare the data for validation.

Return Value

void

at line 88
protected user getUpdateUser()

Get the user instance to update;

Return Value

user