src/Spryker/Zed/SalesOrderThresholdDataImport/Business/Model/DataImportStep/SalesOrderThresholdWriterStep.php
protected function getStoreByName(string $storeName): StoreTransfer
    {
        if (!isset($this->storesHeap[$storeName])) {
            try {
                $storeTransfer = $this->storeFacade->getStoreByName($storeName);

                $this->storesHeap[$storeName] = $storeTransfer;
            } catch (Throwable $t) {
                throw new EntityNotFoundException(sprintf('Store not found: %s', $storeName));
            }
        }

        return $this->storesHeap[$storeName];
    }
protected function getStoreByName(string $storeName): StoreTransfer
    {
        if (!isset($this->storesHeap[$storeName])) {
            try {
                $storeTransfer = $this->storeFacade->getStoreByName($storeName);

                $this->storesHeap[$storeName] = $storeTransfer;
            } catch (Throwable $t) {
                throw new EntityNotFoundException(sprintf('Store not found: %s', $storeName));
            }
        }

        return $this->storesHeap[$storeName];
    }
@param string $storeName

@throws \Pyz\Zed\DataImport\Business\Exception\EntityNotFoundException

@return \Generated\Shared\Transfer\StoreTransfer