$_d
$_d : \Horde_Lens_Interface
The Decorator that will observe each element of the iterator.
$_d : \Horde_Lens_Interface
The Decorator that will observe each element of the iterator.
__construct(\Iterator $i, $d = null)
Constructs a decorator around an iterator using a single Horde_Lens_Interface object, which decorates the current() element of the iterator. The decorator is like a lens, decotrating one element at a time, instead of having a decorator for every element in the list.
\Iterator | $i | The iterator to decorate. |
$d |
setLens(\Horde_Lens_Interface $d)
Set or change the Lens modifying the inner iterator. Sets the current object of the lens automatically and returns the lens.
\Horde_Lens_Interface | $d |