src/Environaut/Report/Results/Result.php
public function addSetting(ISetting $setting, $cachable = true)
    {
        $this->settings[] = $setting;

        if (true === $cachable) {
            $this->cachable_settings[] = $setting;
        }

        return $this;
    }
public function addSetting(ISetting $setting, $cachable = true)
    {
        $this->settings[] = $setting;

        if (true === $cachable) {
            $this->cachable_settings[] = $setting;
        }

        return $this;
    }
Adds the given setting to the internal lists of settings.

@param ISetting $setting setting to add to internal lists of settings
@param bool $cachable whether or not the setting may be put into a cache for reuse on re-execution of the check

@return Result this instance for fluent API support