Interface
OrderStateResolverInterface
Magento\Sales\Model\Order\OrderStateResolverInterface
What it does
This interface defines a contract for resolving the appropriate state of an order based on its current properties and additional arguments.
Developers use this to determine what state an order should transition to, such as 'processing', 'complete', or custom states like 'in progress' or 'forced creditmemo', ensuring consistent state management across the order lifecycle.
Public Methods
- getStateForOrder()