Visitor.php
startIterator(NodeIterator $iterator)
Start the visiting process by iterating over all objects using the given NodeIterator.
Definition: Visitor.php:34
doPostVisit()
Subclasses may override this method to do any operations after the visiting process here.
Definition: Visitor.php:71
Visitor is used to extend an object's functionality by not extending its interface.
Definition: Visitor.php:26
NodeIterator is used to iterate over a tree/list built of Nodes using a Depth-First-Algorithm.
Definition: NodeIterator.php:36
doPreVisit()
Subclasses may override this method to do any operations before the visiting process here.
Definition: Visitor.php:66
startArray($array)
Start the visiting process by iterating over all elements of a given array.
Definition: Visitor.php:47