mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-02-24 09:42:24 +01:00
added new example for abstract factory pattern
This commit is contained in:
parent
d6328ab622
commit
22553a4fab
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user