Piwik\Settings\Storage\Factory::getConfigStorage PHP Method

getConfigStorage() public method

public getConfigStorage ( string $section ) : mixed
$section string
return mixed
    public function getConfigStorage($section)
    {
        $id = 'config' . $section;
        if (!isset($this->cache[$id])) {
            $backend = new Backend\Config($section);
            $this->cache[$id] = $this->makeStorage($backend);
        }
        return $this->cache[$id];
    }