public function toArray($request): array 	{ 		$lang = $request->lang ?? DomainLanguages::getDefaultLanguage();  		return [ 			'id' => $this->getKey(), 			'type' => $this->type, 			'year' => $this->year, 			'title' => $this->getTranslation('title', $lang), 			'description' => $this->getTranslation('description', $lang), 			'relevant' => $this->relevant, 			'categories' => CategoryQuestionsResource::collection($this->categories), 			'created_at' => formatTimestamp($this->created_at), 			'updated_at' => formatTimestamp($this->updated_at), 		]; 	}