songRepository = $songRepository; } /** * Download one or several songs. * * @queryParam songs array An array of song IDs * * @response [] */ public function show(SongRequest $request) { $songs = $this->songRepository->getByIds($request->songs); return response()->download($this->downloadService->from($songs)); } }