<?php  namespace App\Services;  use App\Enums\ShippingProvider;  class URLGenerator { 	public static function shippingUrl(string $tracking_number, ShippingProvider $shipping_provider): string 	{ 		switch ($shipping_provider) { 			case ShippingProvider::DPD: 				return 'https://www.dpdgroup.com/nl/mydpd/my-parcels/track?lang=en&parcelNumber=' . $tracking_number;  			case ShippingProvider::HP: 				return 'https://posiljka.posta.hr/hr/tracking/trackingdata?barcode=' . $tracking_number;  			case ShippingProvider::PAKETOMAT: 				return 'https://posiljka.posta.hr/hr/tracking/trackingdata?barcode=' . $tracking_number; 		} 	} }