collection->map(fn (Artist $artist): ArtistResource => new ArtistResource($artist, $this->query))->all(); } }