NextDom\Rest\ScenarioRest::prepareResultsOrderedByGroup
Prepare result for response\n Associative array by group with following keys : - id - name - displayIcon
Signature
private function prepareResultsOrderedByGroup(array
$scenarios )
Parameters
$scenarios
— array- Array of scenarios to convert
Returns
- array
- List of scenarios grouped