public function loadConfig($configFiles)
    {
        if (!is_array($configFiles)) {
            $configFiles = array($configFiles);
        }

        $this->configFiles = $configFiles;

        foreach ($configFiles as $configFile) {
            $this->config = array_merge(
                $this->config,
                $this->loadConfigFile($configFile)
            );
        }
    }
public function loadConfig($configFiles)
    {
        if (!is_array($configFiles)) {
            $configFiles = array($configFiles);
        }

        $this->configFiles = $configFiles;

        foreach ($configFiles as $configFile) {
            $this->config = array_merge(
                $this->config,
                $this->loadConfigFile($configFile)
            );
        }
    }
public function loadConfig ( $ configFiles ) { if ( ! is_array ( $ configFiles ) ) { $ configFiles = array ( $ configFiles ) ; } $ this -> configFiles = $ configFiles ; foreach ( $ configFiles as $ configFile ) { $ this -> config = array_merge ( $ this -> config , $ this -> loadConfigFile ( $ configFile ) ) ; } }
Sets to the config property the merged content from all the config files.
@param array|string $configFiles
Sets to the config property the merged content from all the config files .