The abstract factory design pattern allows us to work with multiple factories that each one of them is been used to create another family of objects. The following video overviews its implementation 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.com.