private function getConfigFor($name)
    {
        list($module, $settingName) = explode('::', $name);

        $result = [];
        foreach (config("society.$module.settings") as $sub) {
            $result = array_merge($result, $sub);
        }

        return Arr::get($result, "$settingName");
    }
private function getConfigFor($name)
    {
        list($module, $settingName) = explode('::', $name);

        $result = [];
        foreach (config("society.$module.settings") as $sub) {
            $result = array_merge($result, $sub);
        }

        return Arr::get($result, "$settingName");
    }
private function getConfigFor ( $ name ) { list ( $ module , $ settingName ) = explode ( '::' , $ name ) ; $ result = [ ] ; foreach ( config ( "society.$module.settings" ) as $ sub ) { $ result = array_merge ( $ result , $ sub ) ; } return Arr :: get ( $ result , "$settingName" ) ; }
Get the settings configuration file.

@param $name

@return mixed
Get the settings configuration file .