File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -313,8 +313,8 @@ One-To-Many, Bidirectional
313313--------------------------
314314
315315A one-to-many association has to be bidirectional, unless you are using a
316- join table. This is because the many side in a one-to-many association holds
317- the foreign key, making it the owning side. Doctrine needs the many side
316+ join table. This is because the " many" side in a one-to-many association holds
317+ the foreign key, making it the owning side. Doctrine needs the " many" side
318318defined in order to understand the association.
319319
320320This bidirectional mapping requires the ``mappedBy `` attribute on the
@@ -335,7 +335,7 @@ bidirectional many-to-one.
335335 {
336336 // ...
337337 /**
338- * One Product has Many Features .
338+ * One product has many features. This is the inverse side .
339339 * @OneToMany(targetEntity="Feature", mappedBy="product")
340340 */
341341 private $features;
@@ -351,7 +351,7 @@ bidirectional many-to-one.
351351 {
352352 // ...
353353 /**
354- * Many Features have One Product .
354+ * Many features have one product. This is the owning side .
355355 * @ManyToOne(targetEntity="Product", inversedBy="features")
356356 * @JoinColumn(name="product_id", referencedColumnName="id")
357357 */
You can’t perform that action at this time.
0 commit comments