public function toArray(Request $request): array 	{ 		$storage = $this->storage();  		return [ 			'id' => $this->getKey(), 			'product_id' => $this->productParent->id, 			'slugs' => $this->getTranslations($this->getSlugFieldName()), 			'title' => $this->getDefaultTranslation('title'), 			'category' => new CategoryResource($this->productParent->category), 			'serving_description' => $this->getDefaultTranslation('serving_description'), 			'nutritional_values' => $this->getDefaultTranslation('nutritional_values'), 			'body' => $this->getDefaultTranslation('body'), 			'price' => $this->price, 			'price_per_piece' => $this->getPricePerPiece(), 			'discounted_price' => $this->discounted_price, 			'discounted_price_valid_to' => formatTimestamp($this->discounted_price_valid_to), 			'lowest_price' => $this->productParent->lowest_price, 			'weight' => $this->weight, 			'code' => $this->code, 			'number_of_items' => $this->number_of_items, 			'featured' => $this->featured, 			'available_in_store' => $this->available_in_store, 			'created_at' => formatTimestamp($this->created_at), 			'updated_at' => formatTimestamp($this->updated_at), 			'emblems' => EmblemResource::collection($this->emblems), 			'recipes' => RecipeListResource::collection($this->productParent->recipes), 			'media' => [ 				'image' => new MediaResource($storage->getFirstFile('images')), 				'images' => MediaResource::collection($storage->files('images')), 			], 		]; 	}