Log in
Model

Website

Magento\Store\Model\Resolver\Website

What it does

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 retrieve all available websites in the system, primarily when working with scope-specific configurations or data that varies across different websites.

Public Methods

  • getScope()
  • getScopes()