From 003071c6b7c0861b921bdf410c07516bc057591a Mon Sep 17 00:00:00 2001 From: Sydney Arikan Date: Fri, 27 Jul 2012 14:05:24 +0300 Subject: [PATCH] changed the grammar used to define Factory pattern --- pages/Design-Patterns.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/Design-Patterns.md b/pages/Design-Patterns.md index 81df23e87..53b0f923b 100644 --- a/pages/Design-Patterns.md +++ b/pages/Design-Patterns.md @@ -14,7 +14,7 @@ your code easier to manage and easier for others to understand. ## Factory -One of the most commonly used design patterns is the factory pattern. This is a pattern is simply a class that creates +One of the most commonly used design patterns is the factory pattern. In this pattern, a class simply creates the object you want to use. Consider the following example of the factory pattern: {% highlight php %}