The Prototype Design Pattern in PHP 5

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Last week I continued my series of design patterns examples using PHP
5 with the Observer Pattern.  Here now is my 15th example, the
Prototype pattern.

In the Prototype Pattern, we create new objects by cloning a standard
one we already have.

Pretty simple and fairly useful.  

Site Timeline