8000 Update associations.rst · symfony/symfony-docs@a5cb478 · GitHub
[go: up one dir, main page]

Skip to content

Commit a5cb478

Browse files
Update associations.rst
Added link to Doctrine's Collection docs - please double-check link syntax
1 parent a63ea58 commit a5cb478

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doctrine/associations.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295 8000 ,9 +295,9 @@ config.
295295

296296
The code inside ``__construct()`` is important: The ``$products`` property must
297297
be a collection object that implements Doctrine's ``Collection`` interface.
298-
In this case, an ``ArrayCollection`` object is used. This looks and acts almost
299-
*exactly* like an array, but has some added flexibility. Just imagine that it's
300-
an ``array`` and you'll be in good shape.
298+
In this case, an [``ArrayCollection``](`Doctrine_Collections`_) object is used.
299+
This looks and acts almost *exactly* like an array, but has some added flexibility.
300+
Just imagine that it is an ``array`` and you'll be in good shape.
301301

302302
Your database is setup! Now, execute the migrations like normal:
303303

@@ -604,3 +604,4 @@ Doctrine's `Association Mapping Documentation`_.
604604
.. _`Association Mapping Documentation`: https://www.doctrine-project.org/projects/doctrine-orm/en/current/reference/association-mapping.html
605605
.. _`orphanRemoval`: https://www.doctrine-project.org/projects/doctrine-orm/en/current/reference/working-with-associations.html#orphan-removal
606606
.. _`Mastering Doctrine Relations`: https://symfonycasts.com/screencast/doctrine-relations
607+
.. _`Doctrine_Collections`: https://www.doctrine-project.org/projects/doctrine-collections/en/1.6/index.html

0 commit comments

Comments
 (0)
0