collection->map(fn (Series $series) => new SeriesResource($series, $this->query))->all(); } }