class UpdateUserSettings extends FormRequest

Properties

static protected array $additionalRules

Additional validation rules that can be added during runtime.

Methods

static 
addRule(string $key, mixed $rule)

Add a new settings validation rule.

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.

Details

at line 22
static addRule(string $key, mixed $rule)

Add a new settings validation rule.

Parameters

string $key
mixed $rule

at line 32
bool authorize()

Determine if the user is authorized to make this request.

Return Value

bool

at line 42
array rules()

Get the validation rules that apply to the request.

Return Value

array

at line 56
void withValidator(Validator $validator)

Configure the validator instance.

Parameters

Validator $validator

Return Value

void