src/Device/ModelDevice.php
public function getGroupIdCapabilitiesMap()
    {
        $groupIdCapabilitiesMap = array();
        foreach ($this->groupIdCapabilitiesNameMap as $groupId => $capabilitiesName) {
            foreach ($capabilitiesName as $capabilityName) {
                $groupIdCapabilitiesMap[$groupId][$capabilityName] = $this->capabilities[$capabilityName];
            }
        }

        return $groupIdCapabilitiesMap;
    }
public function getGroupIdCapabilitiesMap()
    {
        $groupIdCapabilitiesMap = array();
        foreach ($this->groupIdCapabilitiesNameMap as $groupId => $capabilitiesName) {
            foreach ($capabilitiesName as $capabilityName) {
                $groupIdCapabilitiesMap[$groupId][$capabilityName] = $this->capabilities[$capabilityName];
            }
        }

        return $groupIdCapabilitiesMap;
    }
public function getGroupIdCapabilitiesMap ( ) { $ groupIdCapabilitiesMap = array ( ) ; foreach ( $ this -> groupIdCapabilitiesNameMap as $ groupId => $ capabilitiesName ) { foreach ( $ capabilitiesName as $ capabilityName ) { $ groupIdCapabilitiesMap [ $ groupId ] [ $ capabilityName ] = $ this -> capabilities [ $ capabilityName ] ; } } return $ groupIdCapabilitiesMap ; }
Returns the capabilities by group name

@return array capabilities
Returns the capabilities by group name