activity = activity() ->withProperties($remoteProcessArgs->toArray()) ->log("Awaiting command to start...\n\n"); } public function __invoke(): Activity { $job = new ExecuteCoolifyProcess($this->activity); dispatch($job); $this->activity->refresh(); return $this->activity; } }