Interface
ContextInterface
Magento\Catalog\Model\Layer\ContextInterface
What it does
This interface defines the contract for a context object used in Magento's product layer architecture.
It provides access to collection providers, state keys, and collection filters needed by the Layer model.
Developers should not call methods directly; it exists as a backwards-compatible way to inject dependencies into the Layer model through constructor modifications.
Public Methods
- getCollectionProvider()
- getStateKey()
- getCollectionFilter()