summaryrefslogtreecommitdiff
path: root/vendor/open-telemetry/sdk/Common/Attribute/AttributesInterface.php
blob: 1af7dc8d9b135635094bec2ca1317ab5d78c5e58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php

declare(strict_types=1);

namespace OpenTelemetry\SDK\Common\Attribute;

use Countable;
use Traversable;

interface AttributesInterface extends Traversable, Countable
{
    public function has(string $name): bool;

    public function get(string $name);

    public function getDroppedAttributesCount(): int;

    public function toArray(): array;
}