<?php
//Obfuscated by YAK Pro - Php Obfuscator 2.0.13 at 2025-05-27 11:05:29
 namespace App\Http\Resources\Admin; use Illuminate\Http\Resources\Json\JsonResource; class CategoryResource extends JsonResource { public function toArray($request) { return ["\151\x64" => $this->id, "\156\141\x6d\145" => $this->name, "\x73\x6c\165\x67" => $this->slug, "\151\x6d\141\x67\x65" => $this->image, "\160\141\x72\145\x6e\164\137\151\x64" => $this->parent_id, "\x70\x61\162\145\x6e\x74" => $this->parent, "\163\165\x62\137\x74\151\164\x6c\145" => $this->sub_title, "\x67\162\157\165\160" => $this->group . '', "\x64\145\163\x63\x72\x69\x70\x74\x69\157\x6e" => $this->description, "\x72\141\x6e\x6b" => $this->rank, "\x6d\x61\x6e\x75\x66\141\x63\164\165\x72\145\162" => $this->manufacturer, "\x70\x6f\163\x69\x74\x69\157\x6e" => $this->position, "\151\x73\x5f\x74\157\160" => $this->is_top, "\151\x73\137\141\x63\164\x69\166\x61\x74\145\x64" => $this->is_activated, "\151\163\x5f\x64\x65\x6c\x65\164\145\144" => $this->is_deleted, "\143\x72\145\141\164\x65\x64\137\x61\164" => isset($this->created_at) ? date("\x59\55\155\x2d\144\40\110\x3a\x69\72\163", strtotime($this->created_at)) : null, "\165\x70\x64\141\x74\x65\x64\x5f\x61\164" => isset($this->updated_at) ? date("\131\x2d\155\55\x64\x20\x48\x3a\x69\72\x73", strtotime($this->updated_at)) : null]; } }