Class Salient\Iterator\RecursiveCallbackIterator

<TKey, TValue>

extends IteratorIterator<TKey, TValue, RecursiveIterator<TKey, TValue>>
implements RecursiveIterator<TKey, TValue>

Iterates over a recursive iterator, using a callback to determine which items with children to descend into

Similar to {@see RecursiveCallbackFilterIterator}, but the callback is only used to filter the return value of {@see RecursiveIterator::hasChildren()}, allowing values to be treated as leaf nodes even if they have children.

Methods
Methods inherited from IteratorIterator
getInnerIterator(), rewind(), valid(), key(), current(), next()