* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Domain\Product\Image\Provider; use PrestaShop\PrestaShop\Core\Domain\Product\Combination\ValueObject\CombinationId; use PrestaShop\PrestaShop\Core\Domain\Product\ValueObject\ProductId; use PrestaShop\PrestaShop\Core\Domain\Shop\Exception\ShopAssociationNotFound; use PrestaShop\PrestaShop\Core\Domain\Shop\ValueObject\ShopId; interface ProductImageProviderInterface { /** * @param ProductId $productId * @param ShopId $shopId * * @return string * * @throws ShopAssociationNotFound */ public function getProductCoverUrl(ProductId $productId, ShopId $shopId): string; /** * @param CombinationId $combinationId * @param ShopId $shopId * * @return string * * @throws ShopAssociationNotFound */ public function getCombinationCoverUrl(CombinationId $combinationId, ShopId $shopId): string; }