*/ public function toArray(Request $request): array { return [ 'id' => $this->id, 'project' => $this->project, 'asset' => new AssetParentResource($this->asset), ]; } }