spanName = $spanName; } /** * @return string */ public function getSpanName() { return $this->spanName; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SpanContext::class, 'Google_Service_Monitoring_SpanContext');