NextDom\Rest\CmdRest::prepareResults
Prepare result for response\n Associative array with following keys : - id - name - type - subType - icon - genericType - template - cmdValue - value - visible - unite
Signature
private function prepareResults(array
$cmds )
Parameters
$cmds
— array- List of commands
Returns
- array
- Associative array with all commands data prepared