1 | <?php |
||
10 | class AccountSettingsRequest extends FormRequest |
||
11 | { |
||
12 | use Escaper; |
||
13 | |||
14 | /** |
||
15 | * Determine if the user is authorized to make this request. |
||
16 | * |
||
17 | * @return bool |
||
18 | */ |
||
19 | public function authorize(): bool |
||
23 | |||
24 | /** |
||
25 | * Prepare the data for validation. |
||
26 | * |
||
27 | * @return void |
||
28 | */ |
||
29 | protected function prepareForValidation(): void |
||
56 | |||
57 | /** |
||
58 | * Configure the validator instance. |
||
59 | * |
||
60 | * @param \Illuminate\Validation\Validator $validator |
||
61 | * |
||
62 | * @return void |
||
63 | */ |
||
64 | public function withValidator($validator): void |
||
69 | |||
70 | /** |
||
71 | * Get the validation rules that apply to the request. |
||
72 | * |
||
73 | * @return array |
||
74 | */ |
||
75 | public function rules(): array |
||
82 | } |
||
83 |