123456789101112131415161718192021222324 |
- <?php
- namespace App\Http\Resources\API;
- use Illuminate\Http\Request;
- class BimCombineResource extends BaseResource
- {
- /**
- * Transform the resource into an array.
- *
- * @return array<string, mixed>
- */
- public function toArray(Request $request): array
- {
- return [
- 'id' => $this->id,
- 'name' => $this->name,
- 'data' => $this->data,
- // 'library' => new LibraryResource($this->library),
- 'created_at' => (string) $this->created_at,
- ];
- }
- }
|