This commit is contained in:
Lizandro Guarnizo
2026-01-06 15:35:59 -05:00
commit a768146f65
602 changed files with 42505 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
<?php
namespace App\Http\Resources;
use Illuminate\Http\Request;
use Illuminate\Http\Resources\Json\JsonResource;
class SettingResource extends JsonResource
{
/**
* Transform the resource into an array.
*/
public function toArray(Request $request): array
{
return [
'id' => $this->id,
'logo' => $this->logo,
'description' => $this->description,
'primary_color' => $this->primary_color,
'secondary_color' => $this->secondary_color,
'created_at' => $this->created_at,
'updated_at' => $this->updated_at,
];
}
}