OpenTelemetry PHP

Attributes
in package
implements AttributesInterface, IteratorAggregate

FinalYes
Tags
psalm-suppress

MissingTemplateParam

Table of Contents

Interfaces

AttributesInterface
IteratorAggregate

Properties

$attributes  : array<string|int, mixed>
$droppedAttributesCount  : int

Methods

count()  : int
create()  : AttributesInterface
factory()  : AttributesFactoryInterface
get()  : mixed
getDroppedAttributesCount()  : int
getIterator()  : Traversable
has()  : bool
toArray()  : array<string|int, mixed>

Properties

$attributes read-only

private array<string|int, mixed> $attributes

$droppedAttributesCount read-only

private int $droppedAttributesCount

Methods

count()

public count() : int
Tags
psalm-mutation-free
Return values
int

get()

public get(string $name) : mixed
Parameters
$name : string

getDroppedAttributesCount()

public getDroppedAttributesCount() : int
Return values
int

getIterator()

public getIterator() : Traversable
Return values
Traversable

has()

public has(string $name) : bool
Parameters
$name : string
Return values
bool

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results