* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ declare(strict_types=1); namespace PrestaShop\PrestaShop\Core\Domain\Product\Customization\CommandHandler; use PrestaShop\PrestaShop\Core\Domain\Product\Customization\Command\SetProductCustomizationFieldsCommand; use PrestaShop\PrestaShop\Core\Domain\Product\Customization\ValueObject\CustomizationFieldId; /** * Defines contract to handle @see SetProductCustomizationFieldsCommand */ interface SetProductCustomizationFieldsHandlerInterface { /** * @param SetProductCustomizationFieldsCommand $command * * @return CustomizationFieldId[] */ public function handle(SetProductCustomizationFieldsCommand $command): array; }