src/Environaut/Report/Results/Result.php
public function getSettingsAsArray($groups = null, $flag = null)
    {
        return $this->getFilteredAsArray($this->settings, $groups, $flag);
    }
public function getSettingsAsArray($groups = null, $flag = null)
    {
        return $this->getFilteredAsArray($this->settings, $groups, $flag);
    }
Return all settings or the settings of the specified groups as an array.

@param string $groups group names of settings to return
@param integer $flag flag value the settings should belong to

@return array all settings (for the specified groups); empty array if groups don't exist.