public function inject(SpanContext $context, $metadata)
    {
        $metadata[$this->key] = $this->formatter->serialize($context);
        return $metadata;
    }
public function inject(SpanContext $context, $metadata)
    {
        $metadata[$this->key] = $this->formatter->serialize($context);
        return $metadata;
    }
public function inject ( SpanContext $ context , $ metadata ) { $ metadata [ $ this -> key ] = $ this -> formatter -> serialize ( $ context ) ; return $ metadata ; }
Persiste the current SpanContext back into the results of this request

@param SpanContext $context
@param array $container
@return array
Persiste the current SpanContext back into the results of this request