{@inheritDoc}
@see ArrayAccess::offsetSet()
976111
public function offsetSet($offset, $value) {

		if (is_null($offset)) {
			throw new \InvalidArgumentException('Invalid NULL offset. Only named offsets allowed.');
		}
		$this->values[$offset] = $value;

	}
690175
public function offsetSet($offset, $value)
    {
        $data = $this->data;
        if (is_null($offset)) {
            $data[] = $value;
            $this->set($data);

            return;
        }
        $offset = filter_var($offset, FILTER_VALIDATE_INT, array('min_range' => 0));
        if (false === $offset) {
            throw new InvalidArgumentException('Offset must be an integer');
        }
        $data[$offset] = $value;
        $this->set($data);
    }
290131
public function offsetSet($offset, $value)
    {
        $field = $this->dataField;

        if ($offset !== null) {
            $this->{$field}[$offset] = $value;
        } else {
            array_push($this->{$field}, $value);
        }
    }
1013975
public function offsetSet ($offset, $value) {
		$data = & $_SESSION[$this->__name];
        if ($offset === NULL) {
            $data[] = $value;
        } else {
            $data[$offset] = $value;
        }
    }
365252
public function offsetSet($offset, $value)
    {
        if (property_exists(get_class($this), $offset)) {
            $property = new ReflectionProperty(get_class($this), $offset);
            if ($property->isPublic()) {
                $this->$offset = $value;
            }

            return;
        }

        $this->$offset = $value;
    }
70705
public function offsetSet($offset, $value)
    {
        if (is_null($offset)) {
            $this->container[] = $value;
        } else {
            $this->container[$offset] = $value;
            if (is_numeric($offset)) {
                $this->length = (int)$offset;
            }
        }
    }
639815
public function offsetSet($offset, $value)
    {
        dd($value);
        if(is_null($offset)) {
            $this->{$this->index} = $value;
            $this->index++;
        } else {
            $this->$offset = $value;
        }
    }
1315029
public function offsetSet($offset, $value)
    {
        if (is_null($offset) || empty($offset)) {
            return null;
        }
        return $this->records[$offset] = $value;
    }
870170
public function offsetSet( $offset, $value ) {

		if ( is_array( $this->__container ) ) {
			$this->__container[ $offset ] = $value;
		} else {
			$this->__container->{$offset} = $value;
		}

		return $value;
	}
166934
public function offsetSet($offset, $value)
    {
        /*
        $filePath = $this->getCachePath() . $offset;
        if($this->offsetExists($filePath)) {
            unlink($filePath);
        }
        file_put_contents($filePath, serialize($value));
        */
        $stmt = $this->db->prepare('INSERT OR REPLACE INTO cache (key, value) VALUES (:key, :value)');
        $stmt->bindValue(':key', $offset);
        $stmt->bindValue(':value', serialize($value), SQLITE3_BLOB);
        $stmt->execute();
    }
491048
public function offsetSet($offset, $value)
    {
        if (!$this->is_clone) {
            throw new \LogicException('This collection is immutable');
        }

        $this->collection->offsetSet($offset, $value);
    }
131493
public function offsetSet($offset, $value)
    {
        $this->str = $this->getPrefix($offset) . $value . $this->getSuffix($offset);
    }
401584
public function offsetSet($offset, $value): void
    {
        $offset = $this->sanitizeOffset($offset);

        $this->data[$offset] = $value;
    }
799583
public function offsetSet($offset, $value)
    {
        $value = trim($value);

        if ( ! empty($value)) {
            parent::offsetSet($offset, $value);
        }
    }
539285
public function offsetSet($offset, $value) {
        parent::offsetSet($offset, $value);
        $this->initChild($offset, $value, TRUE);
    }
772045
public function offsetSet($offset, $value)
    {
        if ($offset === null) {
            $offset = uniqid('uid');
        }
        if (is_string($value)) {
            $this->redis->hSet($this->key, $offset, "!".$value);
        } else {
            $this->redis->hSet($this->key, $offset, serialize($value));
        }
    }
753443
public function offsetSet($offset, $value): void
    {
        $index = $this->getSize();

        // change size.
        if ($index <= \count($this->keys)) {
            $this->values->setSize($index + 10);
        }

        $this->values[$index] = $value;
        $this->keys[$offset] = $index;
    }