PHP Zend Studio allows us to specify a code format profile we want our code to be formatted with. Once a format profile was set we can easily change the code format of every PHP source code file we open by pressing CTRL+Shift+F. The following video clip shows how to do it.
The Visitor Design Pattern
The visitor design pattern allows us to add operations to objects that already exist without modifying their classes and without extending them.