(Available since version 1.0)
LinkedList::setIteratorMode — Sets the mode of iteration
$mode
)
Note:
This method deviates from SplDoublyLinkedList::setIteratorMode() in that it will not accept the LIFO flag.
Note:
The default mode is:
LinkedList::IT_MODE_KEEP
mode
Either LinkedList::IT_MODE_DELETE
(Elements are deleted by the iterator) or LinkedList::IT_MODE_KEEP
(Elements are traversed by the iterator).
The new iterator mode.
Throws SEIDS::LinkedLists::ModeNotSupportedException when
the LIFO flag is present in mode
.