interactionRepository = $interactionRepository; } /** * Download all songs favorite'd by the current user. */ public function show(Request $request) { $songs = $this->interactionRepository->getUserFavorites($request->user()); return response()->download($this->downloadService->from($songs)); } }