Log in
Model

ScopeTypeNormalizer

Magento\Store\Model\ScopeTypeNormalizer

What it does

This class normalizes Magento scope type names between their singular and plural forms (website/websites, store/stores, group/groups).

Developers use it when working with configuration scopes to ensure consistent scope type naming across different parts of the system, regardless of which form was originally provided.

Public Methods

  • normalize()