final public function insert(TagKey $key, TagValue $value): bool
    {
        if (\array_key_exists($key->getName(), $this->m)) {
            return false;
        }

        $this->m[$key->getName()] = new Tag($key, $value);
        return true;
    }
final public function insert(TagKey $key, TagValue $value): bool
    {
        if (\array_key_exists($key->getName(), $this->m)) {
            return false;
        }

        $this->m[$key->getName()] = new Tag($key, $value);
        return true;
    }
final public function insert ( TagKey $ key , TagValue $ value ) : bool { if ( \ array_key_exists ( $ key -> getName ( ) , $ this -> m ) ) { return false ; } $ this -> m [ $ key -> getName ( ) ] = new Tag ( $ key , $ value ) ; return true ; }
Insert a Tag into TagContext given provided TagKey and string value.
If TagKey already exists in TagContext this method is a noop.

@param TagKey $key the key of the Tag.
@param TagValue $value the value of the Tag.
@return bool returns true on successful insert.
Insert a Tag into TagContext given provided TagKey and string value . If TagKey already exists in TagContext this method is a noop .