model_id = $id; } #[Computed] public function audit(): Collection { if (is_null($this->model_id)) { return new Collection; } $model = app($this->model)->where($this->keyName, $this->model_id)->first(); return app(GetModelAuditLog::class)->get($model); } public function hide(): void { $this->model_id = null; } };