public function offsetGet($offset) { if (!$this->offsetExists($offset)) { throw new OutOfBoundsException("Offset {$offset} does not exists"); } return $this->first_ip->plus($offset); }