コード例 #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);
 }