diff --git a/en/cookbook/decorator-pattern.rst b/en/cookbook/decorator-pattern.rst index 7fe7c2dda..38bf3ef54 100644 --- a/en/cookbook/decorator-pattern.rst +++ b/en/cookbook/decorator-pattern.rst @@ -3,12 +3,14 @@ Persisting the Decorator Pattern .. sectionauthor:: Chris Woodford -INTRO +This recipe will show you a simple example of how you can use +Doctrine 2 to persist an implementaton of the +`Decorator Pattern `_ Component --------- -Since the ``Component`` class needs to be persisted, it's going to +The ``Component`` class needs to be persisted, so it's going to be an ``Entity``. As the top of the inheritance hierarchy, it's going to have to define the persistent inheritance. For this example, we will use Single Table Inheritance, but Class Table Inheritance