public function toArray($request): array 	{ 		$lang = $request->lang;  		return [ 			'id' => $this->id, 			'name' => $this->getTranslationIfExistsOrGiveNull($lang, 'name'), 			'slug' => $this->determineTranslation($lang, 'slug'), 			'use_parent_filters' => $this->use_parent_filters, 			'children' => CategoryResource::collection($this->children), 			'description' => $this->getTranslationIfExistsOrGiveNull($lang, 'description'), 			'media' => $this->storage()->getFirstThumb('image'), 			'adult_only' => $this->adult_only, 			'extra_cost' => $this->extra_costs_on_shipping, 			'created_at' => formatTimestamp($this->created_at), 			'updated_at' => formatTimestamp($this->updated_at), 			'filters' => FilterCategoryResource::collection($this->getFilters($lang)),  		]; 	}