1 | <?php |
||
9 | class AccountSettingsRequest extends FormRequest |
||
10 | { |
||
11 | /** |
||
12 | * Determine if the user is authorized to make this request. |
||
13 | * |
||
14 | * @return bool |
||
15 | */ |
||
16 | public function authorize() |
||
20 | |||
21 | /** |
||
22 | * Process given request data before validation. |
||
23 | * |
||
24 | * @param array $data |
||
25 | * |
||
26 | * @return array |
||
27 | */ |
||
28 | public function process($data) |
||
58 | |||
59 | /** |
||
60 | * Configure the validator instance. |
||
61 | * |
||
62 | * @param \Illuminate\Validation\Validator $validator |
||
63 | * |
||
64 | * @return void |
||
65 | */ |
||
66 | public function withValidator($validator) |
||
81 | |||
82 | /** |
||
83 | * Get the validation rules that apply to the request. |
||
84 | * |
||
85 | * @return array |
||
86 | */ |
||
87 | public function rules() |
||
94 | } |
||
95 |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.