Bart\Configuration\Configuration::updateRuntimeConfiguration PHP Method

updateRuntimeConfiguration() private method

Set in memory configs for $section[$key] = $value; this is used exclusively for caching secrets
private updateRuntimeConfiguration ( string $section, string $key, string $value )
$section string
$key string
$value string
    private function updateRuntimeConfiguration($section, $key, $value)
    {
        $cache = self::$configCache[$this->filePath];
        if (!Arrays::vod($cache, $section)) {
            $cache[$section] = [];
        }
        // Update with the new value
        $cache[$section][$key] = $value;
        self::$configCache[$this->filePath] = $cache;
        $this->configurations = $cache;
    }