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