Factory
ListFactory
Magento\Sales\Model\Status\ListFactory
What it does
This factory class creates instances of the ListStatus model, which manages collections of order/invoice/shipment/credit memo statuses in Magento.
Developers use this factory when they need to programmatically retrieve or work with status lists throughout the sales order lifecycle, allowing for flexible instantiation with custom arguments.
Public Methods
- create()