OpenTelemetry PHP

Attributes
in package
implements AttributesInterface, IteratorAggregate, JsonSerializable

FinalYes
Tags
psalm-suppress

MissingTemplateParam

Table of Contents

Interfaces

AttributesInterface
IteratorAggregate
JsonSerializable

Properties

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

Methods

count()  : int
create()  : AttributesInterface
factory()  : AttributesFactoryInterface
get()  : mixed
getDroppedAttributesCount()  : int
getIterator()  : Traversable
has()  : bool
jsonSerialize()  : mixed
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
Attributes
#[Override]
Return values
int

get()

public get(string $name) : mixed
Parameters
$name : string
Attributes
#[Override]

getDroppedAttributesCount()

public getDroppedAttributesCount() : int
Attributes
#[Override]
Return values
int

getIterator()

public getIterator() : Traversable
Attributes
#[Override]
Return values
Traversable

has()

public has(string $name) : bool
Parameters
$name : string
Attributes
#[Override]
Return values
bool

jsonSerialize()

public jsonSerialize() : mixed
Attributes
#[Override]

toArray()

public toArray() : array<string|int, mixed>
Attributes
#[Override]
Return values
array<string|int, mixed>

        
On this page

Search results