The prototype design pattern simplifies our way when we need to get a new object which is a duplicate of another object we already have. The following video clip explains it using a code sample in PHP.

You can find the source code available for free download in my ‘PHP Design Patterns’ course, which is available for free personal usage at www.abelski.org.

Leave a Reply

Your email address will not be published. Required fields are marked *