| 1 | <?php |
||
| 9 | class AccountTwoFactorPhoneRequest extends FormRequest |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Determine if the user is authorized to make this request. |
||
| 13 | * |
||
| 14 | * @throws \Cortex\Foundation\Exceptions\GenericException |
||
| 15 | * |
||
| 16 | * @return bool |
||
| 17 | */ |
||
| 18 | public function authorize(): bool |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Configure the validator instance. |
||
| 25 | * |
||
| 26 | * @param \Illuminate\Validation\Validator $validator |
||
| 27 | * |
||
| 28 | * @return void |
||
| 29 | */ |
||
| 30 | public function withValidator($validator): void |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Get the validation rules that apply to the request. |
||
| 43 | * |
||
| 44 | * @return array |
||
| 45 | */ |
||
| 46 | public function rules(): array |
||
| 50 | } |
||
| 51 |