File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -803,6 +803,13 @@ makes sense in the application for each ``Category`` to hold an array of
803
803
added flexibility. If this makes you uncomfortable, don't worry. Just
804
804
imagine that it's an ``array `` and you'll be in good shape.
805
805
806
+ .. tip ::
807
+
808
+ The targetEntity value in the decorator used above can reference any entity
809
+ with a valid namespace, not just entities defined in the same class. To
810
+ relate to an entity defined in a differen't class or bundle, enter a full
811
+ namespace or shortcut as the targetEntity.
812
+
806
813
Next, since each ``Product `` class can relate to exactly one ``Category ``
807
814
object, you'll want to add a ``$category `` property to the ``Product `` class::
808
815
You can’t perform that action at this time.
0 commit comments