Visitor

Represent an operation to be performed on the elements of an object structure. Visitor lets a new operation be defined without changing the classes of the elements on which it operates.

Examples in PHP
No examples yet.
You can see if there are examples in other languages or
be the first to post an example in PHP!