InstrumentationScopeFactory
in package
implements
InstrumentationScopeFactoryInterface
FinalYes
Table of Contents
Interfaces
Properties
Methods
Properties
$attributesFactory read-only
private
AttributesFactoryInterface
$attributesFactory
Methods
__construct()
public
__construct(AttributesFactoryInterface $attributesFactory) : mixed
Parameters
- $attributesFactory : AttributesFactoryInterface
create()
public
create(string $name[, string|null $version = null ][, string|null $schemaUrl = null ][, iterable<string|int, mixed> $attributes = [] ]) : InstrumentationScopeInterface
Parameters
- $name : string
- $version : string|null = null
- $schemaUrl : string|null = null
- $attributes : iterable<string|int, mixed> = []