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