public function dump($file, $contents)
    {
        $filesystem = new Filesystem();
        $filesystem->dumpFile($file, $contents);
        $filesystem->chmod($file, 0644);
    }
public function dump($file, $contents)
    {
        $filesystem = new Filesystem();
        $filesystem->dumpFile($file, $contents);
        $filesystem->chmod($file, 0644);
    }
public function dump ( $ file , $ contents ) { $ filesystem = new Filesystem ( ) ; $ filesystem -> dumpFile ( $ file , $ contents ) ; $ filesystem -> chmod ( $ file , 0644 ) ; }
Write the config file contents out to the config file.

@param string $file     File path
@param string $contents Config file contents
Write the config file contents out to the config file .