SuperGroupedList::extractInto
Recursively try to find the index for the current item, and store the current item against that index.
Signature
protected function extractInto(array&
$result,
mixed
$originalItem,
mixed
$currentItem,
array
$relationParts )
Parameters
$result
— array$originalItem
— mixed- The original item we're trying to group
$currentItem
— mixed- The current item we're traversing
$relationParts
— array- Array containing relation/field names to be traversed