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