| 1 | <?php |
||
| 9 | class TenantFormRequest extends FormRequest |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Determine if the user is authorized to make this request. |
||
| 13 | * |
||
| 14 | * @return bool |
||
| 15 | */ |
||
| 16 | public function authorize(): bool |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Prepare the data for validation. |
||
| 23 | * |
||
| 24 | * @return void |
||
| 25 | */ |
||
| 26 | protected function prepareForValidation(): void |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Get the validation rules that apply to the request. |
||
| 37 | * |
||
| 38 | * @return array |
||
| 39 | */ |
||
| 40 | public function rules(): array |
||
| 47 | } |
||
| 48 |