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

Breadcrumb

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

function Attributes::getIterator

File

vendor/open-telemetry/sdk/Common/Attribute/Attributes.php, line 51

Class

Attributes
@psalm-suppress MissingTemplateParam

Namespace

OpenTelemetry\SDK\Common\Attribute

Code

public function getIterator() : Traversable {
    foreach ($this->attributes as $key => $value) {
        (yield (string) $key => $value);
    }
}

API Navigation

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