| 1 | <?php |
||
| 10 | class GuardianFormRequest 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 |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Get the validation rules that apply to the request. |
||
| 44 | * |
||
| 45 | * @return array |
||
| 46 | */ |
||
| 47 | public function rules(): array |
||
| 59 | } |
||
| 60 |