* @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\Zone\Command; use PrestaShop\PrestaShop\Core\Domain\Zone\ValueObject\ZoneId; /** * Deletes zone */ class DeleteZoneCommand { /** * @var ZoneId */ private $zoneId; /** * @param int $zoneId */ public function __construct(int $zoneId) { $this->zoneId = new ZoneId($zoneId); } /** * @return ZoneId */ public function getZoneId(): ZoneId { return $this->zoneId; } }