Sets an item through ArrayAccess.

This method just forwards the request to the inner iterator

@param int   $offset
@param mixed $value
336553
public function offsetSet($offset, $value)
    {
        $iterator = $this->getIterator();
        $iterator->offsetSet($offset, $value);

        // @codeCoverageIgnoreStart
    //
    // This method always throws an exception, so we ignore the closing
    // brace
    }
602175
public function offsetSet($offset, $value = null)
    {
        if (is_array($offset)) {
            foreach ($offset as $innerKey => $innerValue) {
                array_set($this->{$this->getArrayAccessor()}, $innerKey, $innerValue);
            }
        } else {
            array_set($this->{$this->getArrayAccessor()}, $offset, $value);
        }

        return $this;
    }
339200
public function offsetSet($offset, $value) : void
    {
        $this->initialize();
        $this->collection->offsetSet($offset, $value);
    }
367790
public function offsetSet($offset, $value)
    {
        $this->fillOnce();
        $this->_attributes[$offset] = $value;
        $this->attributesChanged();
    }
391581
public function offsetSet($offset, $value)
    {
        if ($offset === null) {
            $offset = count($this->session[$this->prefix]);
        }

        $this->session[$this->prefix][$offset] = $value;
    }
143235
public function offsetSet($offset, $value)
	{
		list($index_name, $key) = $this->normalizeAccessKey($offset);

		$this->set($key, $value, $index_name);
	}
574591
public function offsetSet($offset, $value) {
		$this->getElements();
        $this->elements[$this->getPosition($offset)] = $value;
    }
126075
public function offsetSet($offset, $value)
    {
        if (is_scalar($offset)) {
            $this->_data[$offset] = $value;
        } else {
            $this->_data[] = $value;
        }
    }
265987
public function offsetSet($offset, $value)
    {
        $this->assertElementIsOfType($value);
        $this->collection[$offset] = $value;
    }
1013975
public function offsetSet ($offset, $value) {
		$data = & $_SESSION[$this->__name];
        if ($offset === NULL) {
            $data[] = $value;
        } else {
            $data[$offset] = $value;
        }
    }
621251
public function offsetSet($offset, $value)
    {
        if (null === $offset || $offset === $this->_count) {
            $this->insertAt($this->_count, $value);
        } else {
            $this->removeAt($offset);
            $this->insertAt($offset, $value);
        }
    }
1327652
public function offsetSet($offset, $value)
    {
        if (is_null($offset)) {
            throw new \Exception('Must supply key to modify arguments in an AssociativeArray.');
        } else {
            $this->_args[$offset] = $value;
        }
    }
154802
public function offsetSet($offset, $value)
	 {
		 if (is_null ($offset))
		 {
			 $index = array_push ($this->data, $value) - 1;
			 $this->trigger ('add', $value, $index);
		 }
		 else
		 {
			$this->data[$offset] = $value;

			 if (isset ($this->data[$offset]))
			 {
				 $this->trigger ('add', $value, $offset);
			 }
			 else {
				 $this->trigger ('set', $value, $offset);
			 }
		 }
	 }
692628
public function offsetSet($offset, $value) {
    if (NULL === $offset) {
      $this->container[] = [$value, NULL];
      return;
    }
    $this->container[$this->getHash($offset)] = [$value, $offset];
  }
299182
public function offsetSet($offset, $value)
    {
        if (!is_int($offset) && $exist = array_search($offset, self::$reverseLookup)) {
            $offset = $exist;
        }

        self::$references[$offset] = $value;
    }
86155
public function offsetSet($offset, $value)
    {
        $this->_modified = true;
        if (null === $offset)
            $this->_storage[] = $value;
        else
            $this->_storage[$offset] = $value;
    }
92100
public function offsetSet($offset, $value): void
    {
        $setter = 'set' . ucfirst($offset);

        if (\method_exists($this, $setter)) {
            $this->$setter($value);
        }
    }