File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Creational/AbstractFactory Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11
11
* it is the concrete subclass which creates concrete components.
12
12
*
13
13
* In this case, the abstract factory is a contract for creating some components
14
- * for the web. There are two components : Text and Picture. There is two ways
14
+ * for the web. There are two components : Text and Picture. There are two ways
15
15
* of rendering : HTML or JSON.
16
16
*
17
- * Therefore 4 concretes classes, but the client just need to know this contract
18
- * to build a correct http response (for a html page or for an ajax request)
17
+ * Therefore 4 concrete classes, but the client just needs to know this contract
18
+ * to build a correct HTTP response (for a HTML page or for an AJAX request).
19
19
*/
20
20
abstract class AbstractFactory
21
21
{
You can’t perform that action at this time.
0 commit comments