php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
IteratorIterator Class Reference
Inheritance diagram for IteratorIterator:
OuterIterator Iterator Traversable AppendIterator CachingIterator FilterIterator InfiniteIterator LimitIterator NoRewindIterator RecursiveCachingIterator CallbackFilterIterator RecursiveFilterIterator RegexIterator RecursiveCallbackFilterIterator ParentIterator RecursiveRegexIterator

Public Member Functions

 __construct (Traversable $iterator, ?string $class=null)
 
 getInnerIterator ()
 
 rewind ()
 
 valid ()
 
 key ()
 
 current ()
 
 next ()
 

Detailed Description

Definition at line 125 of file spl_iterators.stub.php.

Constructor & Destructor Documentation

◆ __construct()

IteratorIterator::__construct ( Traversable $iterator,
?string $class = null )

Definition at line 127 of file spl_iterators.stub.php.

Member Function Documentation

◆ current()

IteratorIterator::current ( )

@tentative-return-type

Implements Iterator.

Reimplemented in AppendIterator, and NoRewindIterator.

Definition at line 142 of file spl_iterators.stub.php.

◆ getInnerIterator()

IteratorIterator::getInnerIterator ( )

@tentative-return-type

Implements OuterIterator.

Definition at line 130 of file spl_iterators.stub.php.

◆ key()

IteratorIterator::key ( )

@tentative-return-type

Implements Iterator.

Reimplemented in NoRewindIterator.

Definition at line 139 of file spl_iterators.stub.php.

◆ next()

IteratorIterator::next ( )

@tentative-return-type

Implements Iterator.

Reimplemented in AppendIterator, CachingIterator, FilterIterator, InfiniteIterator, LimitIterator, and NoRewindIterator.

Definition at line 145 of file spl_iterators.stub.php.

◆ rewind()

IteratorIterator::rewind ( )

@tentative-return-type

Implements Iterator.

Reimplemented in AppendIterator, CachingIterator, FilterIterator, LimitIterator, and NoRewindIterator.

Definition at line 133 of file spl_iterators.stub.php.

◆ valid()

IteratorIterator::valid ( )

@tentative-return-type

Implements Iterator.

Reimplemented in AppendIterator, CachingIterator, LimitIterator, and NoRewindIterator.

Definition at line 136 of file spl_iterators.stub.php.


The documentation for this class was generated from the following file: