Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TraceStateInterface.php

function TraceStateInterface::toString

Returns the concatenated string representation.

Parameters

int|null $limit maximum length of the returned representation:

Return value

string the string representation

See also

https://www.w3.org/TR/trace-context/#tracestate-limits

1 method overrides TraceStateInterface::toString()
TraceState::toString in vendor/open-telemetry/api/Trace/TraceState.php
Returns the concatenated string representation.

File

vendor/open-telemetry/api/Trace/TraceStateInterface.php, line 61

Class

TraceStateInterface
TraceState parses and stores the tracestate header as an immutable list of string key/value pairs. It provides the following operations following the rules described in the W3C Trace Context specification:

Namespace

OpenTelemetry\API\Trace

Code

public function toString(?int $limit = null) : string;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal