ListStatus
Magento\Sales\Model\Status\ListStatus
What it does
This class manages a collection of status information items that different modules can add to track various statuses on sales objects.
Developers use it to store, retrieve, and remove status messages with metadata like origin module, status code, message text, and additional data.
It's particularly useful when multiple modules need to report status information on the same entity without conflicts.
Public Methods
- addItem()
- getItems()
- removeItemsByParams()
- removeItems()
- clear()