* @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\Store\Command; use PrestaShop\PrestaShop\Core\Domain\Store\ValueObject\StoreId; /** * Deletes store */ class DeleteStoreCommand { /** * @var StoreId */ private $storeId; /** * @param int $storeId */ public function __construct(int $storeId) { $this->storeId = new StoreId($storeId); } /** * @return StoreId */ public function getStoreId(): StoreId { return $this->storeId; } }