1 | <?php |
||
10 | class TenantFormRequest 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 | * Configure the validator instance. |
||
26 | * |
||
27 | * @param \Illuminate\Validation\Validator $validator |
||
28 | * |
||
29 | * @return void |
||
30 | */ |
||
31 | public function withValidator($validator): void |
||
36 | |||
37 | /** |
||
38 | * Prepare the data for validation. |
||
39 | * |
||
40 | * @return void |
||
41 | */ |
||
42 | protected function prepareForValidation(): void |
||
50 | |||
51 | /** |
||
52 | * Get the validation rules that apply to the request. |
||
53 | * |
||
54 | * @return array |
||
55 | */ |
||
56 | public function rules(): array |
||
63 | } |
||
64 |