collection->map(fn (Song $song) => new SongResource($song, $this->query))->all(); } }