* @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\CommandHandler; use PrestaShop\PrestaShop\Core\Domain\Product\Command\DuplicateProductCommand; use PrestaShop\PrestaShop\Core\Domain\Product\ValueObject\ProductId; /** * Defines contract to handle @see DuplicateProductCommand */ interface DuplicateProductHandlerInterface { /** * @param DuplicateProductCommand $command * * @return ProductId */ public function handle(DuplicateProductCommand $command): ProductId; }