Log in
Interface

StateKeyInterface

Magento\Catalog\Model\Layer\StateKeyInterface

What it does

This interface defines a contract for generating unique state keys for catalog layers based on categories.

Developers implement this interface to create unique identifiers that represent the current state of a catalog layer, which is useful for caching filtered product collections and maintaining layer state across requests.

Public Methods

  • toString()