collection->map( fn (Dump $dump) => new DumpResource($dump, $this->query) )->all(); } }