Log in
Model

ScopeTreeProvider

Magento\Store\Model\ScopeTreeProvider

What it does

This class builds a hierarchical tree structure representing Magento's configuration scopes (default -> websites -> store groups -> store views).

Developers use this when they need to understand or work with the complete scope hierarchy, such as for configuration management, scope-specific settings, or administrative interfaces that display the store structure.

Public Methods

  • get()