File tree 1 file changed +5
-5
lines changed
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.
168
168
169
169
.. note ::
170
170
171
- The code in the constructor is important. Rather than being instantiated
171
+ The code in the constructor is important. Rather than being instantiated
172
172
as a traditional ``array ``, the ``$products `` property must be of a type
173
173
that implements Doctrine's ``Collection `` interface. In this case, an
174
174
``ArrayCollection `` object is used. This object looks and acts almost
@@ -183,10 +183,10 @@ own a collection of its related ``Product`` objects.
183
183
184
184
.. tip ::
185
185
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.
190
190
191
191
Now that you've added new properties to both the ``Product `` and ``Category ``
192
192
classes, tell Doctrine to generate the missing getter and setter methods for you:
You can’t perform that action at this time.
0 commit comments