The Factory Pattern in PHP

Jul 29, 2009 Author: City Hall
The Factory pattern is used in scenarios where you have a generic class (the factory)that provides the facilities for creating instances of one or more separate specializedclasses that handle the same…