') at all — deliberately * non-throwing so a caller like CheckoutService::getPaymentMethods() * can filter unresolvable types silently rather than treating "not * registered" as an error condition when just checking availability. */ public function resolve(string $type): ?PaymentDriver { $driverClass = config("lunar.payments.types.{$type}.payment_driver"); return $driverClass ? app($driverClass) : null; } }