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

Breadcrumb

  1. Drupal Core 11.1.x

Link.php

Same filename in this branch
  1. 11.1.x vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Trace/V1/Span/Link.php
  2. 11.1.x vendor/composer/composer/src/Composer/Package/Link.php
  3. 11.1.x vendor/symfony/dom-crawler/Link.php
  4. 11.1.x vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/Link.php
  5. 11.1.x core/lib/Drupal/Core/Link.php
  6. 11.1.x core/lib/Drupal/Core/Render/Element/Link.php
  7. 11.1.x core/modules/jsonapi/src/JsonApiResource/Link.php

Namespace

OpenTelemetry\SDK\Trace

File

vendor/open-telemetry/sdk/Trace/Link.php

View source
<?php

declare (strict_types=1);
namespace OpenTelemetry\SDK\Trace;

use OpenTelemetry\API\Trace as API;
use OpenTelemetry\SDK\Common\Attribute\AttributesInterface;
final class Link implements LinkInterface {
    public function __construct(API\SpanContextInterface $context, AttributesInterface $attributes) {
    }
    public function getSpanContext() : API\SpanContextInterface {
        return $this->context;
    }
    public function getAttributes() : AttributesInterface {
        return $this->attributes;
    }

}

Classes

Title Deprecated Summary
Link

API Navigation

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