public function write($file = "")
    {
        $iniString = $this->generateIniString($this->config);
        file_put_contents($file ? $file : $this->filePath, $iniString);
    }
public function write($file = "")
    {
        $iniString = $this->generateIniString($this->config);
        file_put_contents($file ? $file : $this->filePath, $iniString);
    }
public function write ( $ file = "" ) { $ iniString = $ this -> generateIniString ( $ this -> config ) ; file_put_contents ( $ file ? $ file : $ this -> filePath , $ iniString ) ; }
Writes the configuration data back to the INI file.

@param string $file If not empty will be used as an
INI file path to be written.
Writes the configuration data back to the INI file .