Model
Attribute
Magento\Catalog\Model\Layer\Filter\Attribute
What it does
This class handles attribute-based filtering in Magento's layered navigation.
Developers use it to filter product collections by dropdown or swatch attribute values (like color, size, or brand) when customers navigate category pages.
It applies selected attribute filters to the product collection and builds the filter items displayed in the sidebar.
Public Methods
- apply()