We need to intercept offsetSet, because it may be used to alter the
VALUE from DATE-TIME to DATE or vice-versa.

@param string $name
@param mixed  $value
772911
public function offsetSet($name, $value)
    {
        parent::offsetSet($name, $value);
        if ('VALUE' !== strtoupper($name)) {
            return;
        }

        // This will ensure that dates are correctly encoded.
        $this->setDateTimes($this->getDateTimes());
    }
213469
public function offsetSet($offset, $value)
    {
        if (isset($this->config[$offset])) {
            $this->config[$offset] = $value;
        }
    }
1238040
public function offsetSet($offset, $value) {
		if ($offset instanceOf Argument) {
			$offset = $offset->key;
		}

		$this->_parsed[$offset] = $value;
	}
678189
public function offsetSet($offset, $value)
        {
            $offset = $offset == null ? count($this) : $offset;
            $this->{$this->getContainerName()}[$offset] = $this->onSet($offset, $value);
        }
705003
public function offsetSet($offset, $value): void
    {
        $this->resolver->value(function ($value, $offset): void {
            $this->items[$offset] = $value;
        }, $value, $offset);
    }
1224575
public function offsetSet($offset, $value) {
		if(is_null($offset))
			$this->fields[] = $this->parseFields($value, count($this->fields));
		else
			$this->fields[$offset] = $this->parseFields($value, $offset);
	}
146318
public function set(string $key, $value = null): void
    {
        $this->offsetSet($key, $value);
    }
624810
public function offsetSet($offset, $value)
    {
        if(is_array($this->obj)){
            $this->obj[$offset] = $value;
        }elseif(self::hasProperty($this->obj, $offset)){
            $this->obj->{$offset} = $value;
        }elseif(method_exists($this->obj, 'set')){
            $this->obj->set($offset, $value);
        }elseif(method_exists($this->obj, $method = 'set'.ucfirst($offset))){
            $this->obj->{$method}($value);
        }else{
            throw new \BadMethodCallException("can not set $offset");
        }
    }
798611
public function offsetSet($offset, $value)
    {
        $this->configRaw[$offset] = $value;
        if (isset($this->childConfig[$offset])) {
            unset($this->childConfig[$offset]);
        }

    }
574591
public function offsetSet($offset, $value) {
		$this->getElements();
        $this->elements[$this->getPosition($offset)] = $value;
    }
150671
public function offsetSet ($offset, $value) {
        if ($offset === NULL) {
            $this->data[] = $value;
        } else {
            $this->data[$offset] = $value;
        }
    }
1364346
public function offsetSet($offset, $value)
    {
        $method = 'set' . ucfirst($offset);
        if (method_exists($this, $method)) {
            $this->{$method}($value);
        } else {
            $method = 'set' . self::matchPropertyName($offset);
            if (method_exists($this, $method)) {
                $this->{$method}($value);
            } else {
                $this->unknownProperties[$offset] = $value;
            }
        }
    }
1096463
public function offsetSet($offset, $value)
    {
        if (is_null($offset)) {
            $this->items[] = $value;
        } else {
            $this->items[$offset] = $value;
        }

        $this->keys = array_keys($this->items);
    }
760931
public function offsetSet($name, $value)
    {
        if ($name == '_id') {
            throw new \Exception('Property "_id" is read-only');
        } elseif ($name === null) {
            throw new \Exception('Property name cannot be null');
        } else {
            parent::offsetSet($name, $value);
        }
    }
1344507
private function _setMulti($value, $name1, $name2 = null)
    {
        $args = func_get_args();
        array_shift($args);
        foreach ($args as $key) {
            $this->offsetSet($key, $value);
        }
    }
1013975
public function offsetSet ($offset, $value) {
		$data = & $_SESSION[$this->__name];
        if ($offset === NULL) {
            $data[] = $value;
        } else {
            $data[$offset] = $value;
        }
    }
497185
public function offsetSet($offset, $value)
    {
        if(is_null($offset)) {
            $offset = $this->index;
            $this->index++;
        }
        $this->indexItem = array_push($this->keys, $offset);
        $this->{$offset} = $value;
    }