Pop\Config::setConfig PHP Method

setConfig() protected method

Method to set the config values
protected setConfig ( array $config ) : void
$config array
return void
    protected function setConfig($config)
    {
        foreach ($config as $key => $value) {
            $this->config[$key] = is_array($value) ? new Config($value, $this->allowChanges) : $value;
        }
    }