<?php
 namespace App\Http\Requests\Store; use Illuminate\Foundation\Http\FormRequest; class DomainSaveUrlForwardingRequest extends FormRequest { public function authorize(): bool { return true; } public function rules(): array { return [ 'destination' => ['required', 'url', 'max:2048'], 'type' => ['required', 'string', 'in:redirect_301,redirect_302,frame'], ]; } } 