public function toArray($request): array 	{ 		return [ 			'name' => $this->name, 			'slug' => $this->slug, 			'parent' => [ 				'name' => $this->parent?->name, 				'slug' => $this->parent?->slug, 			], 			'page' => new PageResource($this->page), 		]; 	}