<?php  namespace App\Http\Resources;  use Illuminate\Http\Resources\Json\JsonResource;  /**  * @mixin \App\Models\Product  * */ class GroupedVariantsResource extends JsonResource { 	public string $name;  	public function __construct($resource, string $name){}  	/** 	 * Transform the resource into an array. 	 * 	 * @param \Illuminate\Http\Request $request 	 */ 	public function toArray($request): array{} }