key = $key; $this->value = $value; } public static function create(CBORObject $key, CBORObject $value): self { return new self($key, $value); } public function getKey(): CBORObject { return $this->key; } public function getValue(): CBORObject { return $this->value; } }