Interface
ContextInterface
Magento\Catalog\Model\Layer\ContextInterface
What it does
This interface defines a context object for the Catalog Layer model, providing access to collection providers, state keys, and collection filters.
Developers use this interface when they need to inject or access layer-related dependencies in a backward-compatible way, though Magento recommends not calling its methods directly as it's primarily used for constructor modification points.
Public Methods
- getCollectionProvider()
- getStateKey()
- getCollectionFilter()