|
MediaWiki master
|
Allows extending classes to decorate an Iterator with reduced boilerplate. More...
Inherits Iterator.
Inherited by 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 14 of file IteratorDecorator.php.
| IteratorDecorator::__construct | ( | Iterator | $iterator | ) |
| Iterator | $iterator |
Definition at line 22 of file IteratorDecorator.php.
References $iterator.
| IteratorDecorator::current | ( | ) |
Definition at line 31 of file IteratorDecorator.php.
| IteratorDecorator::key | ( | ) |
Definition at line 40 of file IteratorDecorator.php.
| IteratorDecorator::next | ( | ) |
Definition at line 48 of file IteratorDecorator.php.
| IteratorDecorator::rewind | ( | ) |
Definition at line 56 of file IteratorDecorator.php.
| IteratorDecorator::valid | ( | ) |
Definition at line 64 of file IteratorDecorator.php.
|
protected |
Definition at line 15 of file IteratorDecorator.php.
Referenced by __construct().