original_string: 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");
      }
code: 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");
      }
code_tokens: 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" ) ; }
docstring: Get the settings configuration file.
  
  @param $name
  
  @return mixed
docstring_tokens: Get the settings configuration file .