*/ public function toArray(Request $request): array { return [ 'id' => $this->id, 'name' => $this->name, 'description' => $this->description, 'category' => $this->category, 'platform' => $this->platform, 'content' => $this->content, 'slides' => $this->slides, 'image_count' => $this->image_count, 'image_keywords' => $this->image_keywords, ]; } }