country = request()->route('country', config('app.domain_country')); } public function save(): void { $service = $this->form->store(); session()->flash('status', __('Service erfolgreich erstellt!')); redirect()->route('services.index', ['country' => $this->country]); } public function with(): array { return [ 'types' => collect(SelfHostedServiceType::cases())->map(fn($c) => [ 'value' => $c->value, 'label' => $c->label() ]), ]; } }; ?>