Code that I created while working through the book "Professional PHP Design Patterns".  This code doesn't match that in the book, but it will look familiar to those who have read the book.