Skip to content

Commit 22553a4

Browse files
author
Dominik Liebler
committed
added new example for abstract factory pattern
1 parent d6328ab commit 22553a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: AbstractFactory/AbstractFactory.php

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* - SQL Factory (types are all strings with SQL, but they vary in detail (tables, fields, etc.))
1515
* - Zend Framework: Zend_Form::createElement() creates form elements, but you could also call new T
1616
* TextElement() instead
17+
* - an abstract factory to create various exceptions (e.g. Doctrine2 uses this method)
1718
*
1819
*/
1920
abstract class AbstractFactory

0 commit comments

Comments
 (0)