src/Agent.php
public function acceptDistributedTracePayloadHttpsafe(string $payload, string $type = 'HTTP'): bool
    {
        if (!$this->isLoaded()) {
            return false;
        }

        return newrelic_accept_distributed_trace_payload_httpsafe($payload, $type);
    }
public function acceptDistributedTracePayloadHttpsafe(string $payload, string $type = 'HTTP'): bool
    {
        if (!$this->isLoaded()) {
            return false;
        }

        return newrelic_accept_distributed_trace_payload_httpsafe($payload, $type);
    }
Accepts a distributed trace payload.

Agent version 8.4 or higher.

@see https://docs.newrelic.com/docs/agents/php-agent/php-agent-api/newrelicacceptdistributedtracepayloadhttpsafe-php-agent-api
@see self::createDistributedTracePayload

@param string $payload JSON formatted string created by using self::createDistributedTracePayload
@param string $type    (optional) A string overriding the default transport type.

@return bool

@since 2.1.0