mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-31 04:00:18 +02:00
added new example for abstract factory pattern
This commit is contained in:
@@ -14,6 +14,7 @@ namespace DesignPatterns;
|
||||
* - SQL Factory (types are all strings with SQL, but they vary in detail (tables, fields, etc.))
|
||||
* - Zend Framework: Zend_Form::createElement() creates form elements, but you could also call new T
|
||||
* TextElement() instead
|
||||
* - an abstract factory to create various exceptions (e.g. Doctrine2 uses this method)
|
||||
*
|
||||
*/
|
||||
abstract class AbstractFactory
|
||||
|
Reference in New Issue
Block a user