MediaWiki master
NotRecursiveIterator Class Reference

Wraps a non-recursive iterator with methods to be recursive without children. More...

Inherits IteratorDecorator, and RecursiveIterator.

Collaboration diagram for NotRecursiveIterator:

Public Member Functions

 getChildren ()
 
 hasChildren ()
 
- Public Member Functions inherited from IteratorDecorator
 __construct (Iterator $iterator)
 
 current ()
 
 key ()
 
 next ()
 
 rewind ()
 
 valid ()
 

Additional Inherited Members

- Protected Attributes inherited from IteratorDecorator
Iterator $iterator
 

Detailed Description

Wraps a non-recursive iterator with methods to be recursive without children.

Note
GPL-2.0-or-later

Alternatively wraps a recursive iterator to prevent recursing deeper than the wrapped iterator.

Definition at line 15 of file NotRecursiveIterator.php.

Member Function Documentation

◆ getChildren()

NotRecursiveIterator::getChildren ( )

Definition at line 20 of file NotRecursiveIterator.php.

◆ hasChildren()

NotRecursiveIterator::hasChildren ( )

Definition at line 16 of file NotRecursiveIterator.php.


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