🆙 Add fixed cms 🆙

This commit is contained in:
Remco committed 2026-02-02 19:30:21 +01:00
1 parent b1a2cab62d
commit b67e0ec2b9
3982 files changed
+193682

No files matched your search

@@ -0,0 +1,22 @@
<?php
namespace App\Http\Resources;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Http\Resources\Json\JsonResource;
use JsonSerializable;
class UserResource extends JsonResource
{
/**
* Transform the resource into an array.
*
* @return array|Arrayable|JsonSerializable
*/
public function toArray($request): array
{
return [
'data' => $this->resource ?: 'No user found',
];
}
}