public static function writeToDisk(Config $config) : void
    {
        $filePath = $config->getPath();
        $file     = new Json($filePath);
        $file->write($config->getJsonData());
    }
public static function writeToDisk(Config $config) : void
    {
        $filePath = $config->getPath();
        $file     = new Json($filePath);
        $file->write($config->getJsonData());
    }
public static function writeToDisk ( Config $ config ) : void { $ filePath = $ config -> getPath ( ) ; $ file = new Json ( $ filePath ) ; $ file -> write ( $ config -> getJsonData ( ) ) ; }
Write the config to disk

@param  \CaptainHook\App\Config $config
@return void
Write the config to disk