collection->map(fn (Anime $anime) => new AnimeResource($anime, $this->query))->all(); } }