File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ own a collection of its related ``Product`` objects.
168168
169169.. note ::
170170
171- The code in the constructor is important. Rather than being instantiated
171+ The code in the constructor is important. Rather than being instantiated
172172 as a traditional ``array ``, the ``$products `` property must be of a type
173173 that implements Doctrine's ``Collection `` interface. In this case, an
174174 ``ArrayCollection `` object is used. This object looks and acts almost
@@ -183,10 +183,10 @@ own a collection of its related ``Product`` objects.
183183
184184.. tip ::
185185
186- The targetEntity value in the metadata used above can reference any entity
187- with a valid namespace, not just entities defined in the same namespace. To
188- relate to an entity defined in a different class or bundle, enter a full
189- namespace as the targetEntity.
186+ The targetEntity value in the metadata used above can reference any entity
187+ with a valid namespace, not just entities defined in the same namespace. To
188+ relate to an entity defined in a different class or bundle, enter a full
189+ namespace as the targetEntity.
190190
191191Now that you've added new properties to both the ``Product `` and ``Category ``
192192classes, tell Doctrine to generate the missing getter and setter methods for you:
You can’t perform that action at this time.
0 commit comments