collection->map( fn (Feature $feature) => new FeatureResource($feature, $this->query) )->all(); } }