public function index()
    {
        $backups = collection($this->BackupManager->index())
            ->map(function (Entity $backup) {
                return $backup->set('slug', urlencode($backup->filename));
            });

        $this->set(compact('backups'));
    }
public function index()
    {
        $backups = collection($this->BackupManager->index())
            ->map(function (Entity $backup) {
                return $backup->set('slug', urlencode($backup->filename));
            });

        $this->set(compact('backups'));
    }
public function index ( ) { $ backups = collection ( $ this -> BackupManager -> index ( ) ) -> map ( function ( Entity $ backup ) { return $ backup -> set ( 'slug' , urlencode ( $ backup -> filename ) ) ; } ) ; $ this -> set ( compact ( 'backups' ) ) ; }
Lists backup files
@return void
@uses DatabaseBackup\Utility\BackupManager::index()
Lists backup files