original_string: public function mergeConfig($resources)
      {
          $configs = array();
          foreach (is_array($resources) ? $resources : func_get_args() as $resource) {
              $configs = ArrayUtils::merge($configs, $this->loadConfig($resource));
          }
  
          return $configs;
      }
code: public function mergeConfig($resources)
      {
          $configs = array();
          foreach (is_array($resources) ? $resources : func_get_args() as $resource) {
              $configs = ArrayUtils::merge($configs, $this->loadConfig($resource));
          }
  
          return $configs;
      }
code_tokens: public function mergeConfig ( $ resources ) { $ configs = array ( ) ; foreach ( is_array ( $ resources ) ? $ resources : func_get_args ( ) as $ resource ) { $ configs = ArrayUtils :: merge ( $ configs , $ this -> loadConfig ( $ resource ) ) ; } return $ configs ; }
docstring: Loads and merges the configuration.
  
  @param mixed $resources
  
  @return array
docstring_tokens: Loads and merges the configuration .