Doctrine\ORM\Internal\CommitOrderCalculator::getCommitOrder
Gets a valid commit order for all current nodes.
Uses a depth-first search (DFS) to traverse the graph. The desired topological sorting is the reverse postorder of these searches.
Signature
public function getCommitOrder()
Returns
- array
- The list of ordered classes.