Log in
Model

ReaderList

Magento\Store\Model\StoreResolver\ReaderList

What it does

This class manages a collection of store resolver readers for different scope levels (website, group, store) in Magento 2.

Developers use it to retrieve the appropriate resolver based on the current run mode/scope, enabling context-aware store resolution throughout the application.

It acts as a factory pattern implementation that maps scope types to their corresponding resolver classes.

Public Methods

  • getReader()