Get the value at the specified index from the internal store.
Example: `$thing = $cfg['any'];`
@param mixed $offset
@param mixed $value
331648
public function offsetGet ($offset) {
        return isset($this->data[$offset]) ? $this->data[$offset] : NULL;
    }
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.');
            }
        }
    }
681000
public function offsetSet($offset, $value) {
        if (is_null($offset)) {
            $this->values[] = $value;
        } else {
            $this->values[$offset] = $value;
        }
        $this->tracker->logAddition($value);
    }
1238040
public function offsetSet($offset, $value) {
		if ($offset instanceOf Argument) {
			$offset = $offset->key;
		}

		$this->_parsed[$offset] = $value;
	}
82282
public function offsetSet($offset, $value)
    {
        if ($this->isReadOnly()) {
            return;
        }

        if (!isset($this->items[$offset])) {
            $this->items[] = $value;
        } else {
            $this->items[$offset] = $value;
        }
    }
178902
public function offsetSet($offset, $value)
    {
        if (false === method_exists($this, 'set' . ucfirst($offset))) {
            $this->$offset = $value;

            return $this;
        }

        return $this->{'set' . ucfirst($offset)}($value);
    }
674703
public function offsetSet ($index, $value)
	{
		if (!is_numeric($index)) {
			throw new \OutOfBoundsException('Out of bounds: you are trying to set a non-numeric index.');
		}

		if ($index > $this->count() || $index < 0) {
			throw new \OutOfBoundsException("Invalid index {$index}");
		}

		$this->storage[$index] = $value;

		return null;
	}
584626
public function offsetGet($offset)
    {
        $offset = trim(strval($offset));
        $value  = parent::offsetGet($offset);
        $value  = $this->getField($offset)->filter($value);

        return $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();
    }
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);
			 }
		 }
	 }
457773
public function offsetSet($offset, $value) {
            if (is_null($offset)) {
                $this->custom[] = $value;
                $this->merge();
            } else {
                $this->set($offset, $value);
            }
        }
150671
public function offsetSet ($offset, $value) {
        if ($offset === NULL) {
            $this->data[] = $value;
        } else {
            $this->data[$offset] = $value;
        }
    }
527938
public function offsetGet($offset)
    {
        $value = $this->items[$offset];

        if (is_array($value)) {
            $value = new static($value);
        }

        return $value;
    }
1350409
public function offsetSet($offset, $value)
    {
        $this->internArray[$offset] = $value;
        return $this->_set($this->getAttributeName(), $this->internArray);
    }
265987
public function offsetSet($offset, $value)
    {
        $this->assertElementIsOfType($value);
        $this->collection[$offset] = $value;
    }
712157
public function offsetSet($offset, $value)
    {
        parent::offsetSet($offset, $value);
        $this->storage->persist();
    }
726234
public function offsetGet($offset)
    {
        $value = parent::offsetGet($offset);

        if (\is_array($value)) {
            $value = \call_user_func([$this->class, 'create'], $value);
        }

        return $value;
    }