GlobIterator::count
InfiniteIterator::__construct
Iterators
PHP Manual

# The InfiniteIterator class

## 소개

This Iterator takes another Iterator and infinitely iterates it by rewinding it when its end is reached.

## 클래스 개요

InfiniteIterator
InfiniteIterator extends IteratorIterator implements OuterIterator , Traversable , Iterator {
/* Methods */
__construct ( Iterator `$iterator` )
public void next ( void )
/* Inherited methods */
IteratorIterator::__construct ( Traversable `$iterator` )
public void IteratorIterator::current ( void )
public void IteratorIterator::getInnerIterator ( void )
public void IteratorIterator::key ( void )
public void IteratorIterator::next ( void )
public void IteratorIterator::rewind ( void )
public bool IteratorIterator::valid ( void )
}

## Table of Contents

- InfiniteIterator::__construct — Constructs an infiniteIterator
- InfiniteIterator::next — Moves the Iterator forward

GlobIterator::count
InfiniteIterator::__construct
Iterators
PHP Manual