mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-09-27 06:49:11 +02:00
some more comments, typos etc.
This commit is contained in:
@@ -10,10 +10,10 @@ namespace DesignPatterns;
|
||||
* usually the created classes all implement the same interface
|
||||
*
|
||||
* Examples:
|
||||
* - A Factory to create media in a CMS: classes would be text, audio, video, picture
|
||||
* - 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
|
||||
* - A factory to create media in a CMS: classes would be text, audio, video, picture
|
||||
* - 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 TextElement() instead
|
||||
*
|
||||
*/
|
||||
abstract class AbstractFactory
|
||||
|
Reference in New Issue
Block a user