Design Pattern: Prototype Pattern in PHP
Protype pattern defines a prototype instance for object creation, and then generates object by copying/cloning that prototype. The process is to fork an existing object, and then modify/change the properties. This article demonstrates Prototype pattern implementations in PHP.