class UpdateOwnUser extends UpdateUser

Properties

User $user The user to update. from UpdateUser

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 12
bool authorize()

Determine if the user is authorized to make this request.

Return Value

bool

in UpdateUser at line 34
array rules()

Get the validation rules that apply to the request.

Return Value

array

in UpdateUser at line 62
void withValidator(Validator $validator)

Configure the validator instance.

Parameters

Validator $validator

Return Value

void

in UpdateUser at line 76
protected void prepareForValidation()

Prepare the data for validation.

Return Value

void

at line 29
protected user getUpdateUser()

Get the user instance to update;

Return Value

user