Model
MessagesProvider
Magento\Catalog\Model\Theme\CustomerData\MessagesProvider
What it does
This class provides messages for the customer data section in Magento 2's frontend.
It determines whether to clear session messages based on product action synchronization settings and request parameters.
Developers use this when customizing how catalog-related messages are displayed to customers through the customer data sections mechanism.
Public Methods
- getMessages()