name = $name; $this->trace = $trace; } /** * @deprecated Use ContextPanicError::getOriginalClassName() instead. * * Returns the class name of the uncaught exception. */ public function getName(): string { return $this->name; } /** * @deprecated Use ContextPanicError::getOriginalTraceAsString() instead. * * Gets the stack trace at the point the panic occurred. */ public function getPanicTrace(): string { return $this->trace; } }