1 | <?php |
||
11 | class TenantRegistrationRequest extends FormRequest |
||
12 | { |
||
13 | use Escaper; |
||
14 | |||
15 | /** |
||
16 | * Determine if the user is authorized to make this request. |
||
17 | * |
||
18 | * @throws \Cortex\Foundation\Exceptions\GenericException |
||
19 | * |
||
20 | * @return bool |
||
21 | */ |
||
22 | public function authorize(): bool |
||
30 | |||
31 | /** |
||
32 | * Configure the validator instance. |
||
33 | * |
||
34 | * @param \Illuminate\Validation\Validator $validator |
||
35 | * |
||
36 | * @return void |
||
37 | */ |
||
38 | public function withValidator($validator): void |
||
43 | |||
44 | /** |
||
45 | * Get the validation rules that apply to the request. |
||
46 | * |
||
47 | * @return array |
||
48 | */ |
||
49 | public function rules(): array |
||
53 | } |
||
54 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.