collection->map(fn (Image $image) => new ImageResource($image, $this->query))->all(); } }