Log in
Model

MaskedListIdToCompareListId

Magento\Catalog\Model\MaskedListIdToCompareListId

What it does

This class converts a masked (public) compare list ID into an internal database compare list ID.

Developers use this when working with GraphQL or public APIs where the actual list ID needs to be hidden from customers for security reasons.

It also validates that the customer requesting access actually owns the compare list.

Public Methods

  • execute()