Skip to content

Commit 275c079

Browse files
ThomasLandauerwouterj
authored andcommitted
Removed unnecessary(?) YAML hint
| Q | A | ------------- | --- | Doc fix? | [yes] | New docs? | [no] | Applies to | [2.3] | Fixed tickets | [] I guess it's not necessary to do anything in __construct manually - the ArrayCollection is automatically initialized when you do php app/console doctrine:generate:entities AppBundle Please double-check!
1 parent 9cd391b commit 275c079

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

book/doctrine.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -953,8 +953,6 @@ To relate the ``Category`` and ``Product`` entities, start by creating a
953953
products:
954954
targetEntity: Product
955955
mappedBy: category
956-
# don't forget to init the collection in the __construct() method
957-
# of the entity
958956
959957
.. code-block:: xml
960958

0 commit comments

Comments
 (0)