Doctrine\Common\Collections\Expr\ClosureExpressionVisitor::sortByField
Helper for sorting arrays of objects based on multiple fields + orientations.
Signature
Parameters
$name
— string$orientation
— integer$next
— Doctrine\Common\Collections\Expr\Closure
Returns
- Closure