* @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\Cart\CommandHandler; use PrestaShop\PrestaShop\Core\Domain\Cart\Command\AddCustomizationCommand; use PrestaShop\PrestaShop\Core\Domain\Product\Customization\ValueObject\CustomizationId; /** * Defines contract to handle @var AddCustomizationCommand */ interface AddCustomizationHandlerInterface { /** * @param AddCustomizationCommand $command * * @return CustomizationId|null customizationId */ public function handle(AddCustomizationCommand $command): ?CustomizationId; }