opentelemetry-php/tests/Unit/SDK/Resource
Tobias Bachert 41f74d2aff
Make `AttributesInterface` immutable (#724)
* Cleanup `AttributesInterface`
- remove not required methods
- rename `::hasAttribute()` to `::has()` for consistency with `::get()`
* Remove public usage of `new Attributes()`
* Split `Attributes` into immutable attributes and mutable builder
* Remove `AttributesLimits`
* Remove `::incrementDroppedAttributesCount()` for now
Mainly useful for metrics sdk that has to rebuild filtered attributes.
* Remove obsolete cloning of attributes
* Update covers annotation
* Revert optional changes that might be controversial
2022-06-23 20:54:03 +10:00
..
Detectors Make `AttributesInterface` immutable (#724) 2022-06-23 20:54:03 +10:00
ResourceInfoFactoryTest.php Make `AttributesInterface` immutable (#724) 2022-06-23 20:54:03 +10:00
ResourceInfoTest.php Make `AttributesInterface` immutable (#724) 2022-06-23 20:54:03 +10:00