Model
Context
Magento\Catalog\Model\Layer\Context
What it does
This class serves as a dependency injection container for the Catalog Layer model, bundling together related dependencies like collection providers, state keys, and collection filters.
It follows the Context Object pattern to maintain backward compatibility when adding new dependencies to the Layer class, allowing developers to extend functionality without breaking existing customizations.
Public Methods
- getCollectionProvider()
- getStateKey()
- getCollectionFilter()