HistoryRepository
Magento\Sales\Model\Order\Status\HistoryRepository
What it does
This repository class provides CRUD operations for managing order status history records in Magento 2.
Developers use it to retrieve, save, or delete status change comments and history entries for orders, such as when an order moves from 'Processing' to 'Shipped'.
It implements a standardized repository pattern with search criteria support for filtering and retrieving collections of order status history records.
Public Methods
- getList()
- get()
- delete()
- save()