InstrumentationScope
in package
implements
InstrumentationScopeInterface
FinalYes
Represents the instrumentation scope information associated with the Tracer or Meter
Table of Contents
Interfaces
Properties
- $attributes : AttributesInterface
- $name : string
- $schemaUrl : string|null
- $version : string|null
Methods
- __construct() : mixed
- getAttributes() : AttributesInterface
- getName() : string
- getSchemaUrl() : string|null
- getVersion() : string|null
Properties
$attributes read-only
private
AttributesInterface
$attributes
$name read-only
private
string
$name
$schemaUrl read-only
private
string|null
$schemaUrl
$version read-only
private
string|null
$version
Methods
__construct()
public
__construct(string $name, string|null $version, string|null $schemaUrl, AttributesInterface $attributes) : mixed
Parameters
- $name : string
- $version : string|null
- $schemaUrl : string|null
- $attributes : AttributesInterface
getAttributes()
public
getAttributes() : AttributesInterface
Return values
AttributesInterfacegetName()
public
getName() : string
Return values
stringgetSchemaUrl()
public
getSchemaUrl() : string|null
Return values
string|nullgetVersion()
public
getVersion() : string|null