예제 #1
0
파일: IPBlock.php 프로젝트: aniblaze/php-ip
 public function offsetGet($offset)
 {
     if (!$this->offsetExists($offset)) {
         throw new OutOfBoundsException("Offset {$offset} does not exists");
     }
     return $this->first_ip->plus($offset);
 }