src/package/Support/Config.php
public function update($config)
    {
        config(['version' => $config]);

        $this->yaml->saveAsYaml($config, $this->configFile);
    }
public function update($config)
    {
        config(['version' => $config]);

        $this->yaml->saveAsYaml($config, $this->configFile);
    }
public function update ( $ config ) { config ( [ 'version' => $ config ] ) ; $ this -> yaml -> saveAsYaml ( $ config , $ this -> configFile ) ; }
Update the config file.

@param $config
Update the config file .