{@inheritDoc}

@param int|string $offset
@param mixed      $value
339200
public function offsetSet($offset, $value) : void
    {
        $this->initialize();
        $this->collection->offsetSet($offset, $value);
    }
84269
public function offsetSet( $offset, $value ) {
        $temp = $this->values();

        if ( $this->has( $value ) === false ) {
            if ( is_null( $offset ) ) {
                $temp[] = $value;
            } else {
                $temp[ $offset ] = $value;
            }
        }

        $this->exchangeArray( $temp );

        $this->size = $this->count();
    }
22345
public function offsetSet($offset, $value)
    {
        $this->generatorToArray();

        if ($offset === null) {
            $this->array[] = $value;
        } else {
            $this->internalSet($offset, $value);
        }
    }
1315029
public function offsetSet($offset, $value)
    {
        if (is_null($offset) || empty($offset)) {
            return null;
        }
        return $this->records[$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);
    }
13916
public function offsetSet($offset, $value)
    {
        $canonical = $this->canonical($offset);
        $this->headers[$canonical] = $value;
        $this->map[$canonical] = $offset;
    }
457773
public function offsetSet($offset, $value) {
            if (is_null($offset)) {
                $this->custom[] = $value;
                $this->merge();
            } else {
                $this->set($offset, $value);
            }
        }
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);
	}
712157
public function offsetSet($offset, $value)
    {
        parent::offsetSet($offset, $value);
        $this->storage->persist();
    }
345699
public function offsetSet($offset, $value)
    {
        $args = [$offset, $value];
        $methodName = __FUNCTION__;

        return $this->findAndCall($methodName, $args);
    }
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);
        }
    }
1181359
public function offsetSet($offset, $value)
    {
        //argument 1 must be scalar, null or bool
        Argument::i()->test(1, 'scalar', 'null', 'bool');
        
        $this->translate($offset, $value);
    }
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;
    }
413989
public static  function set($offset, $value = '')
    {
        if (is_array($offset)) {
            foreach ($offset as $key => $segment) {
                self::$config[$key] = $segment;
            }
        } else {
            self::$config[$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;
    }
1296289
public function offsetSet($offset, $value)
    {
        if ($this->offsetExists($offset)) {
            $method = 'set'.static::formatOffset($offset);
            $this->{$method}($value);
        }
    }
273987
public function offsetSet($offset, $value)
    {
        $this->loadData($offset);
        $this->set($offset, $value);
    }