* @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\Address\CommandHandler; use PrestaShop\PrestaShop\Core\Domain\Address\Command\EditCartAddressCommand; use PrestaShop\PrestaShop\Core\Domain\Address\ValueObject\AddressId; /** * Interface for services that handles command which edits cart address */ interface EditCartAddressHandlerInterface { /** * @param EditCartAddressCommand $command * * @return AddressId The newly created address id */ public function handle(EditCartAddressCommand $command): AddressId; }