protected function addGlobalConfigs($configs)
    {
        if (!empty($configs)) {
            foreach ($configs as $config => $value) {
                $this->globalConfigs[$config] = $value;
            }
        }
    }
protected function addGlobalConfigs($configs)
    {
        if (!empty($configs)) {
            foreach ($configs as $config => $value) {
                $this->globalConfigs[$config] = $value;
            }
        }
    }
protected function addGlobalConfigs ( $ configs ) { if ( ! empty ( $ configs ) ) { foreach ( $ configs as $ config => $ value ) { $ this -> globalConfigs [ $ config ] = $ value ; } } }
Set global configs

@param array|Map $configs the config variable. i.e. { "color.status" => "false", "color.diff" => "true" }
Set global configs