Store Module
Address\Renderer
This class formats store address information into a human-readable string format using a customizable template. Developers use it to display store phy...
Api\Data\GroupInterface
This interface defines the data structure for a Store Group in Magento 2's multi-store hierarchy. Developers use this when working with store groups p...
Api\Data\StoreConfigInterface
This interface defines the contract for accessing store configuration data in Magento 2. Developers use this to retrieve or set store-specific setting...
Api\Data\StoreInterface
This interface defines the data contract for a Store entity in Magento 2's multi-store architecture. Developers use this to interact with store data t...
Api\Data\WebsiteInterface
This interface defines the contract for Website data objects in Magento 2's multi-store architecture. Developers use this when working with website-le...
Api\GroupRepositoryInterface
This interface defines the contract for managing store groups in Magento 2. Developers use it to retrieve individual store groups by ID, get a list of...
Api\StoreConfigManagerInterface
This interface defines a contract for retrieving store configuration data across one or multiple stores in Magento 2. Developers use this when they ne...
Api\StoreCookieManagerInterface
This interface defines the contract for managing store-specific cookies in Magento 2. Developers use it to retrieve the current store code from cookie...
Api\StoreManagementInterface
This interface defines a contract for managing store-related operations in Magento 2. Developers use this interface to retrieve the total count of sto...
Api\StoreRepositoryInterface
This interface defines the contract for retrieving store information in Magento 2. Developers use this repository to fetch stores by ID or code, get l...
Api\StoreResolverInterface
This interface defines a contract for resolving the current store ID in a Magento 2 multi-store setup. Developers would implement this interface to de...
Api\StoreWebsiteRelationInterface
This interface defines a contract for retrieving store information based on website ID. Developers use this when they need to get all stores assigned...
Api\WebsiteManagementInterface
This interface defines a contract for retrieving the total number of websites in a Magento installation. Developers use this when they need to check h...
Api\WebsiteRepositoryInterface
This interface defines the contract for retrieving and managing Website entities in Magento 2. Developers use this repository to fetch websites by cod...
App\Emulation
This class allows developers to temporarily change the store environment context (store view, locale, design theme, translations) for operations like...
Argument\Interpreter\ServiceUrl
This class generates service API URLs for Magento 2 REST endpoints by combining the base URL with store code, API version, and a specific path. Develo...
BaseUrlChecker
This class validates that incoming HTTP requests match the configured base URL of a Magento store. Developers use it to ensure requests are using the...
Config\Converter
This class converts database configuration data from an associative array format to a tree array structure for store-level configurations. Developers...
Config\Importer
This class imports store configuration data (websites, store groups, and store views) from configuration files into the Magento database. Developers u...
Config\Importer\DataDifferenceCalculator
This class compares the current Magento store configuration (websites, store groups, and store views) with new configuration data to determine what ne...
Config\Placeholder
This class processes Magento configuration values by replacing URL placeholders like {{unsecure_base_url}} and {{secure_base_url}} with actual URLs. D...
Config\Processor\Fallback
This class processes Magento's configuration by implementing a fallback hierarchy across different scopes (default, website, and store). It merges con...
Config\Processor\Placeholder
This class processes Magento configuration data by replacing placeholder values with actual configuration values. It's used during the configuration l...
Config\ReloadDeploymentConfig
This class handles reloading the deployment configuration for stores, websites, and store groups without clearing the entire cache. Developers would u...
Config\StoreView
This class retrieves theme and locale configuration information across all store views in a Magento installation. Developers use it when they need to...
Config\Validator
This validator ensures that Magento's deployment configuration contains at least one non-admin website, store group, and store view. Developers encoun...
Data\StoreConfig
This class is a data transfer object (DTO) that represents store configuration values for a Magento store view. Developers use it to retrieve or set s...
DefaultStoreScopeProvider
This class provides the default store scope context for entity operations in Magento 2. Developers use this when they need to ensure operations are pe...
Group
The Group class represents a Store Group (formerly called Store View Group) in Magento 2's multi-store hierarchy. Developers use this model to manage...
GroupRepository
This repository class manages store groups in Magento 2, providing methods to retrieve individual groups or lists of all groups. Developers use it to...
HeaderProvider\Hsts
This class manages the HTTP Strict-Transport-Security (HSTS) header for Magento responses. It sets a security header that forces browsers to only comm...
HeaderProvider\UpgradeInsecure
This class adds a Content-Security-Policy header with 'upgrade-insecure-requests' directive to HTTP responses when both frontend and admin are configu...
Indexer\WebsiteDimensionProvider
This class provides website-based dimensions for Magento's multidimensional indexing system. Developers use this when implementing custom indexers tha...
Information
This class retrieves and formats store information such as name, address, phone number, and business hours from the store configuration. Developers us...
Message\EmptyGroupCategory
This class generates a system notification message when store groups in Magento 2 are not associated with a root category. Developers would encounter...
Model\ResourceModel\Group\Collection
This class manages collections of store groups in Magento 2, allowing developers to retrieve, filter, and manipulate multiple store group records from...
Model\ResourceModel\Store\Collection
This collection class manages and retrieves store view data in Magento 2's multi-store system. Developers use it to fetch stores with various filters...
Model\ResourceModel\Website\Collection
This collection class retrieves and manages Website records from the database in Magento 2. Developers use it to load website data, filter by website...
Model\ScopeInterface
This interface defines constants for Magento's scope levels (stores, groups, websites) used throughout the system for configuration, pricing, and cont...
Model\StoreManagerInterface
The StoreManagerInterface provides methods to manage and retrieve Magento's multi-store architecture components including stores, websites, and store...
Model\StoreResolver\ReaderInterface
This interface defines methods for retrieving store information within a specific scope in Magento 2. Developers implement this interface when creatin...
Model\StoreSwitcherInterface
This interface defines the contract for handling store view switching in Magento 2. Developers implement this interface to control what happens when c...
Model\StoreSwitcher\ContextInterface
This interface defines the contract for passing context information during store view switching operations in Magento 2. Developers use this when impl...
Model\StoreSwitcher\RedirectDataInterface
This interface defines the contract for handling data during store view switching in Magento 2. Developers implement this interface to securely transf...
Model\StoreSwitcher\RedirectDataPostprocessorInterface
This interface defines a contract for post-processing redirect data when customers switch between different stores in a multi-store Magento setup. Dev...
Model\StoreSwitcher\RedirectDataPreprocessorInterface
This interface defines a contract for preprocessing redirect data when customers switch between different store views in Magento. Developers implement...
Model\StoreSwitcher\RedirectDataSerializerInterface
This interface defines methods for serializing and unserializing redirect data when customers switch between stores in a multi-store Magento setup. De...
PathConfig
PathConfig determines URL security requirements and default paths for the Magento storefront. Developers would use this class when implementing custom...
Resolver\Group
This class resolves store groups (collections of stores within a website) in Magento 2's scope hierarchy. Developers use it to retrieve specific store...
Resolver\Store
This class resolves and retrieves store scope objects in Magento 2. Developers use it when they need to get a specific store instance by ID or retriev...
Resolver\Website
This class resolves and retrieves website scope objects in Magento's multi-website architecture. Developers use it to get a specific website by ID or...
ResourceModel\Group
This resource model manages database operations for Magento store groups, which are organizational units that group stores together under a website. D...
ResourceModel\Store
This resource model manages database operations for Magento store entities. Developers use it to retrieve store data, count stores in the system, and...
ResourceModel\StoreWebsiteRelation
This resource model retrieves store-website relationship data from the database. Developers use it to fetch stores associated with a specific website,...
ResourceModel\Website
This resource model manages database operations for Magento websites (the highest level in Magento's store hierarchy). Developers use this class when...
ScopeFallbackResolver
This class determines the fallback hierarchy for Magento's scope system (default, website, store, group). When a configuration value isn't found at a...
ScopeResolver
This class determines whether one Magento scope (store view, website, or global) belongs to or is a child of another scope in the hierarchy. Developer...
ScopeTreeProvider
This class builds a hierarchical tree structure representing Magento's scope configuration (default → websites → store groups → store views). Develope...
ScopeTypeNormalizer
This class normalizes Magento scope type names between their singular and plural forms (website/websites, store/stores, group/groups). Developers use...
ScopeValidator
This class validates whether a given scope (like store, website, or default) and its corresponding scope ID are valid in Magento. Developers use this...
Service\StoreConfigManager
This service class retrieves and manages store configuration data for Magento stores. Developers use it to fetch comprehensive store settings includin...
Store
The Store model represents a single store view in Magento 2's multi-store architecture. Developers use this class to get store-specific configuration...
StoreCookieManager
This class manages the store code cookie in Magento 2, which tracks which store view a customer is currently browsing. Developers use this class to re...
StoreDimensionProvider
This class provides store dimensions for Magento's indexer system, allowing indexers to iterate through all stores and create separate index data per...
StoreIsInactiveException
This exception is thrown when attempting to access or perform operations on a store that has been disabled or is inactive in Magento. Developers would...
StoreManagement
This class manages store-related operations in Magento 2, specifically providing functionality to count the total number of stores in the system. Deve...
StoreManager
StoreManager is the primary service for managing and retrieving store, website, and store group information in Magento 2. Developers use this class to...
StoreRepository
This repository class manages the retrieval and caching of store entities in Magento 2. Developers use it to fetch store information by code or ID, ge...
StoreResolver
This class determines which store view should be used for the current request by checking the URL path, request parameters, or store cookies. Develope...
StoreResolver\GetStoresListByWebsiteIds
This class retrieves a list of store IDs associated with given website IDs in Magento's multi-store setup. Developers would use this when they need to...
StoreResolver\Group
This class resolves store information based on store group scope. Developers use it to retrieve all active store IDs belonging to a specific store gro...
StoreResolver\ReaderList
This class manages a collection of store resolver readers for different scope levels (website, group, store) in Magento 2. Developers use it to retrie...
StoreResolver\Store
This class resolves store-related information by retrieving allowed store IDs and default store IDs based on scope codes. Developers use this when the...
StoreResolver\Website
This class resolves and retrieves store information within a website scope in Magento 2. Developers use it to get all active store IDs for a specific...
StoreScopeProvider
This class provides store-level scope context for entities in Magento 2. It determines which store an entity belongs to by checking entity data for a...
StoreSwitcher
This class manages the store switching process in Magento 2, determining the correct redirect URL when customers switch between different store views....
StoreSwitcher\CannotSwitchStoreException
This is a custom exception class thrown when Magento cannot switch between store views, typically during multi-store operations or when a customer tri...
StoreSwitcher\CleanTargetUrl
This class cleans up target URLs during store switching by removing store-related query parameters like '___from_store' and store code identifiers. De...
StoreSwitcher\Context
This class serves as a data transfer object (DTO) that encapsulates context information during store view switching operations in Magento 2. Developer...
StoreSwitcher\HashGenerator
This deprecated class generates and validates temporary security tokens (hashes) when customers switch between store views in Magento. It creates time...
StoreSwitcher\HashGenerator\HashData
This class is a data container that holds information required for generating one-time tokens during store view switching. Developers use this class t...
StoreSwitcher\HashProcessor
This class handles secure store switching by processing and validating one-time tokens passed via URL parameters. It's used when customers switch betw...
StoreSwitcher\ManagePrivateContent
This class manages private content versioning during store switching in Magento 2. When a customer switches between stores (e.g., from US to UK store)...
StoreSwitcher\ManageStoreCookie
This class manages store view cookies during store switching operations in Magento 2. When a customer switches between different store views, it eithe...
StoreSwitcher\RedirectData
This class is a data transfer object (DTO) that holds secure redirect information when customers switch between different store views in Magento. It e...
StoreSwitcher\RedirectDataCacheSerializer
This class handles secure serialization and deserialization of store switcher redirect data using cache storage. Developers use it when implementing s...
StoreSwitcher\RedirectDataGenerator
This class generates secure redirect data when switching between different store views in Magento. It collects context information, serializes it, cre...
StoreSwitcher\RedirectDataPostprocessorComposite
This composite class orchestrates multiple redirect data post-processors when customers switch between stores. Developers use this to extend store swi...
StoreSwitcher\RedirectDataPreprocessorComposite
This class acts as a composite processor that chains multiple redirect data preprocessors together when switching between store views. Developers use...
StoreSwitcher\RedirectDataValidator
This class validates the security and freshness of redirect data when customers switch between stores in a multi-store Magento setup. It ensures the r...
StoresConfig
This class retrieves configuration values for a specific configuration path across all stores in a Magento installation. Developers use it when they n...
StoresData
This class manages the retrieval and caching of active store IDs based on the current run mode and scope. Developers use this when they need to determ...
System\Store
This class provides a centralized way to retrieve and manage Magento's store hierarchy (websites, store groups, and store views) for use in forms, dro...
Validation\StoreCodeValidator
This class validates store codes in Magento 2 to ensure they follow proper naming conventions. Developers use this validator when creating or updating...
Validation\StoreNameValidator
This validator class checks if a store name is valid by ensuring it is not empty. Developers use this class when creating or updating stores to valida...
Validation\StoreValidator
This validator class validates Store model objects against a configurable set of validation rules. Developers use this class to ensure store data meet...
Website
The Website model represents a Magento 2 website entity, which is the top level of the store hierarchy (Website > Store Group > Store View). Developer...
WebsiteManagement
This class manages website-level operations in Magento's multi-website architecture. Developers use it to retrieve the total count of websites configu...
WebsiteRepository
WebsiteRepository is the primary service for retrieving website entities in Magento 2. Developers use this repository to fetch websites by code or ID,...