trace = $trace; } /** * Gets the stack trace at the point the panic occurred. * * @return string */ public function getWorkerTrace(): string { return $this->trace; } }