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