src/Database/InOut/Mysql/Exporter.php
public static function export($name)
    {
        $now = time();
        //
        $tables = self::tables();
        //
        $query = self::time($now).self::info();
        $query .= self::database();
        $query .= self::fetch($tables);
        //
        $file = ($name ?: config('database.database').'_'.$now).'.sql';
        //
        self::file($file);
        //
        self::save($file, $query);
        //
        return true;
    }
public static function export($name)
    {
        $now = time();
        //
        $tables = self::tables();
        //
        $query = self::time($now).self::info();
        $query .= self::database();
        $query .= self::fetch($tables);
        //
        $file = ($name ?: config('database.database').'_'.$now).'.sql';
        //
        self::file($file);
        //
        self::save($file, $query);
        //
        return true;
    }
public static function export ( $ name ) { $ now = time ( ) ; // $ tables = self :: tables ( ) ; // $ query = self :: time ( $ now ) . self :: info ( ) ; $ query .= self :: database ( ) ; $ query .= self :: fetch ( $ tables ) ; // $ file = ( $ name ? : config ( 'database.database' ) . '_' . $ now ) . '.sql' ; // self :: file ( $ file ) ; // self :: save ( $ file , $ query ) ; // return true ; }
Export the current database.

@return bool
Export the current database .