src/FondOfSpryker/Zed/AvailabilityAlert/Business/Model/SubscribersNotifier.php
protected function getIdStorebyStoreName(string $storeName): int
    {

        $storeEntity = SpyStoreQuery::create()
            ->filterByName($storeName)
            ->findOne();

        if ($storeEntity == null) {
            return 0;
        }
        
        return $storeEntity->getIdStore();
    }
protected function getIdStorebyStoreName(string $storeName): int
    {

        $storeEntity = SpyStoreQuery::create()
            ->filterByName($storeName)
            ->findOne();

        if ($storeEntity == null) {
            return 0;
        }
        
        return $storeEntity->getIdStore();
    }
@param string $storeName

@return int