* @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\Zone\CommandHandler; use PrestaShop\PrestaShop\Core\Domain\Zone\Command\AddZoneCommand; use PrestaShop\PrestaShop\Core\Domain\Zone\ValueObject\ZoneId; /** * Interface for service that creates new zone */ interface AddZoneHandlerInterface { /** * @param AddZoneCommand $command * * @return ZoneId */ public function handle(AddZoneCommand $command): ZoneId; }