From cdd7ad020e165fe680703b6d3319b908b682fb7a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 20 Oct 2023 17:12:29 +0300 Subject: jaeger-client -> opentelemetry --- .../src/Google/Protobuf/Internal/MapEntry.php | 71 ++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 vendor/google/protobuf/src/Google/Protobuf/Internal/MapEntry.php (limited to 'vendor/google/protobuf/src/Google/Protobuf/Internal/MapEntry.php') diff --git a/vendor/google/protobuf/src/Google/Protobuf/Internal/MapEntry.php b/vendor/google/protobuf/src/Google/Protobuf/Internal/MapEntry.php new file mode 100644 index 000000000..e89481f0a --- /dev/null +++ b/vendor/google/protobuf/src/Google/Protobuf/Internal/MapEntry.php @@ -0,0 +1,71 @@ +getFieldByNumber(2); + if ($value_field->getType() == GPBType::MESSAGE) { + $klass = $value_field->getMessageType()->getClass(); + $value = new $klass; + $this->setValue($value); + } + } + + public function setKey($key) { + $this->key = $key; + } + + public function getKey() { + return $this->key; + } + + public function setValue($value) { + $this->value = $value; + } + + public function getValue() { + return $this->value; + } +} -- cgit v1.2.3