Comment updates in AbstractFactory

Fixed minor typos and punctuation in comments.
This commit is contained in:
Alex Nastase
2016-03-07 21:37:33 +02:00
parent eef2b2944e
commit 1120fab17d

View File

@@ -11,11 +11,11 @@ namespace DesignPatterns\Creational\AbstractFactory;
* it is the concrete subclass which creates concrete components. * it is the concrete subclass which creates concrete components.
* *
* In this case, the abstract factory is a contract for creating some components * In this case, the abstract factory is a contract for creating some components
* for the web. There are two components : Text and Picture. There is two ways * for the web. There are two components : Text and Picture. There are two ways
* of rendering : HTML or JSON. * of rendering : HTML or JSON.
* *
* Therefore 4 concretes classes, but the client just need to know this contract * Therefore 4 concrete classes, but the client just needs to know this contract
* to build a correct http response (for a html page or for an ajax request) * to build a correct HTTP response (for a HTML page or for an AJAX request).
*/ */
abstract class AbstractFactory abstract class AbstractFactory
{ {