public static function spanContext()
    {
        if (!isset(self::$instance)) {
            return new SpanContext(null, null, false);
        }
        return self::$instance->tracer()->spanContext();
    }
public static function spanContext()
    {
        if (!isset(self::$instance)) {
            return new SpanContext(null, null, false);
        }
        return self::$instance->tracer()->spanContext();
    }
public static function spanContext ( ) { if ( ! isset ( self :: $ instance ) ) { return new SpanContext ( null , null , false ) ; } return self :: $ instance -> tracer ( ) -> spanContext ( ) ; }
Returns the current span context.

@return SpanContext
Returns the current span context .