iTunesService = $iTunesService; } /** * View a song on iTunes store. * * @return RedirectResponse */ public function viewSong(ViewSongOnITunesRequest $request, Album $album) { $url = $this->iTunesService->getTrackUrl($request->q, $album->name, $album->artist->name); abort_unless($url, 404, "Koel can't find such a song on iTunes Store."); return redirect($url); } }