src/Database/InOut/Mysql/Exporter.php
public static function save($file, $query)
    {
        $path = Application::$root."database/backup/$file";
        //
        return (new Filesystem())->put($path, $query);
    }
public static function save($file, $query)
    {
        $path = Application::$root."database/backup/$file";
        //
        return (new Filesystem())->put($path, $query);
    }
public static function save ( $ file , $ query ) { $ path = Application :: $ root . "database/backup/$file" ; // return ( new Filesystem ( ) ) -> put ( $ path , $ query ) ; }
Save exported data in sql file.

@param timestamp $time  the current time
@param string    $query the sql query

@return Filesystem
Save exported data in sql file .