destination, command: $this->command, port: $this->port, user: $this->user, ); $this->activity = activity() ->withProperties($arguments->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; } }