StateKey
Magento\Catalog\Model\Layer\Category\StateKey
What it does
This class generates a unique cache key string for category layer navigation based on store ID, category ID, and customer group.
Developers use this to ensure that layered navigation data is properly cached and retrieved for different combinations of stores, categories, and customer groups.
It's essential for maintaining separate cached versions of filtered product lists for different customer segments.
Public Methods
- toString()