collection->map( fn (Announcement $announcement) => new AnnouncementResource($announcement, $this->query) )->all(); } }