collection->map(fn (Playlist $playlist) => new PlaylistResource($playlist, $this->query))->all(); } }