Log in
Model

Store

Magento\Store\Model\ResourceModel\Store

What it does

This resource model manages database operations for Magento store entities.

Developers use it to retrieve store data, count stores in the system, and handle the persistence logic when stores are created, updated, or deleted.

It also manages relationships between stores and store groups, including updating default store assignments and cleaning configuration cache.

Public Methods

  • countAll()
  • readAllStores()