Offset to set
@link http://php.net/manual/en/arrayaccess.offsetset.php
@param mixed $offset <p>
The offset to assign the value to.
</p>
@param mixed $value <p>
The value to set.
</p>
@return void
@since 5.0.0
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;
    }
818090
public function offsetSet($offset, $value)
    {
        if (\is_string($offset) || \is_int($offset)) {
            $this->properties[$offset] = $value;
        }
    }
1272538
public function offsetSet( $offset, $value )
	{
		$is_offset_string = is_string( $offset );
		$is_value_string  = is_string( $value );

		/** e.g., `$obj[] = 'foo';` */
		if ( null === $offset && $is_value_string ) {
			$this->add( $value );
		}
		elseif ( is_bool( $value ) && $is_offset_string ) {
			/** e.g., `$obj['foo'] = true;` */
			if ( $value ) {
				$this->add( $offset );
			}
			/** e.g., `$obj['foo'] = false;` */
			else {
				$this->remove( $offset );
			}
		}
		elseif ( $is_offset_string && $is_value_string ) {
			/** e.g., `$obj['foo'] = 'bar';` */
			$this->replace( $offset, $value );
		}
	}
54903
public function offsetSet($offset, $value)
    {
        if ($offset === null) {
            $this->add($value);
        } else {
            $this->errors[$offset] = $value;
        }
    }
399271
public function offsetSet($offset, $value)
    {
        if (is_null($offset)) {
            $offset = $this->_integerToStringKey($this->_integerKeysCounter++);
        }

        $this->_putData($offset, $value);
        return $this;
    }
751508
public function offsetSet($offset, $value)
    {
        $offset = is_string($offset) ? trim($offset) : null;
        if (empty($offset)) throw new \InvalidArgumentException('Offset must be a non empty string.');

        $this->data[$offset] = $value;
    }
1238040
public function offsetSet($offset, $value) {
		if ($offset instanceOf Argument) {
			$offset = $offset->key;
		}

		$this->_parsed[$offset] = $value;
	}
1013975
public function offsetSet ($offset, $value) {
		$data = & $_SESSION[$this->__name];
        if ($offset === NULL) {
            $data[] = $value;
        } else {
            $data[$offset] = $value;
        }
    }
1011349
public function offsetSet($offset, $value)
        {
            $elem = $this;
            if ($offset !== null) {
                $elem = $this->elem($offset);
            }
            if (is_array($value)) {
                $elem->tpl($value, []);
                return;
            }
            if ($value instanceof FHtml) {
                $elem->curNode->add($value->getDocument());
                return;
            }
            $elem->content($value);
        }
273987
public function offsetSet($offset, $value)
    {
        $this->loadData($offset);
        $this->set($offset, $value);
    }
376324
public function offsetSet( $offset, $value )
	{
		$offset = self::normalizeKey($offset);
		if( $offset !== false )
		{
			$this->items[$offset] = $value;
		}
	}
436787
public function offsetSet($offset, $value)
    {
        if (is_null($offset)) {
            $this->_args[count($this->_args)] = $value;
        } else {
            if (is_int($offset)) {
                $this->_args[$offset] = $value;
            } else {
                throw new \Exception('Cannot set offset \''.$offset.'\' of IndexedArray.');
            }
        }
    }
418749
public function offsetSet($offset, $value)
    {
        //argument 1 must be scalar, null or bool
        Argument::i()->test(1, 'scalar', 'null', 'bool');

        $this->set($offset, $value, strtotime('+10 years'));
    }
639815
public function offsetSet($offset, $value)
    {
        dd($value);
        if(is_null($offset)) {
            $this->{$this->index} = $value;
            $this->index++;
        } else {
            $this->$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;
            }
        }
    }
367790
public function offsetSet($offset, $value)
    {
        $this->fillOnce();
        $this->_attributes[$offset] = $value;
        $this->attributesChanged();
    }
657513
public function offsetSet($offset, $value): void
    {
        self::validateOffset($offset);
        $this->data[$offset] = $value;
    }