collection->map(fn (User $user): UserResource => new UserResource($user, $this->query))->all(); } }