getSettings(SettingsConfig::VENDOR_ID); } private static function normalizeVendorId($vendorId): string { if ($vendorId === null || $vendorId === '') { return ''; } return preg_replace('/[^a-zA-Z0-9_-]/', '', (string) $vendorId); } }