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