<?php  namespace App\Services\Orders\Shipping;  use Exception; use App\Models\DeliveryPrice; use App\Contracts\ShippingProviderInterface;  class ShippingServiceFactory { 	/** 	 * @return DpdShippingService|GlsShippingService 	 */ 	public static function make(string $service): ShippingProviderInterface 	{ 		switch ($service) { 			case 'DPD': 				return new DpdShippingService(new Deliveryprice, new ShippingReturnObject);  			case 'GLS': 				return new GlsShippingService(new Deliveryprice, new ShippingReturnObject); 		}  		throw new Exception('Such provider does not exists'); 	} }