|
MediaWiki master
|
Allows extending classes to decorate an Iterator with reduced boilerplate. More...
Inherits Iterator.
Inherited by Wikimedia\Iterators\NotRecursiveIterator.

Public Member Functions | |
| __construct (Iterator $iterator) | |
| current () | |
| key () | |
| next () | |
| rewind () | |
| valid () | |
Protected Attributes | |
| Iterator | $iterator |
Allows extending classes to decorate an Iterator with reduced boilerplate.
Definition at line 18 of file IteratorDecorator.php.
| Wikimedia\Iterators\IteratorDecorator::__construct | ( | Iterator | $iterator | ) |
| Iterator | $iterator |
Definition at line 26 of file IteratorDecorator.php.
References $iterator.
| Wikimedia\Iterators\IteratorDecorator::current | ( | ) |
Definition at line 35 of file IteratorDecorator.php.
| Wikimedia\Iterators\IteratorDecorator::key | ( | ) |
Definition at line 44 of file IteratorDecorator.php.
| Wikimedia\Iterators\IteratorDecorator::next | ( | ) |
Definition at line 52 of file IteratorDecorator.php.
References next().
Referenced by next().
| Wikimedia\Iterators\IteratorDecorator::rewind | ( | ) |
Definition at line 60 of file IteratorDecorator.php.
References rewind().
Referenced by rewind().
| Wikimedia\Iterators\IteratorDecorator::valid | ( | ) |
Definition at line 68 of file IteratorDecorator.php.
References return, and valid().
Referenced by valid().
|
protected |
Definition at line 19 of file IteratorDecorator.php.
Referenced by __construct().