The offset to retrieve.
public function &offsetGet($index) { if (!isset($this->array[$index])) { throw new \Exception('Index out of range'); // @todo Throw IndexException } return $this->array[$index]; }