From a5cb478c80a2819364401f8d679b2ed0df124cce Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Sat, 4 Apr 2020 13:46:26 +0200 Subject: [PATCH] Update associations.rst Added link to Doctrine's Collection docs - please double-check link syntax --- doctrine/associations.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doctrine/associations.rst b/doctrine/associations.rst index d5b8b8bb6ce..52b4cf8c11b 100644 --- a/doctrine/associations.rst +++ b/doctrine/associations.rst @@ -295,9 +295,9 @@ config. The code inside ``__construct()`` is important: The ``$products`` property must be a collection object that implements Doctrine's ``Collection`` interface. - In this case, an ``ArrayCollection`` object is used. This looks and acts almost - *exactly* like an array, but has some added flexibility. Just imagine that it's - an ``array`` and you'll be in good shape. + In this case, an [``ArrayCollection``](`Doctrine_Collections`_) object is used. + This looks and acts almost *exactly* like an array, but has some added flexibility. + Just imagine that it is an ``array`` and you'll be in good shape. Your database is setup! Now, execute the migrations like normal: @@ -604,3 +604,4 @@ Doctrine's `Association Mapping Documentation`_. .. _`Association Mapping Documentation`: https://www.doctrine-project.org/projects/doctrine-orm/en/current/reference/association-mapping.html .. _`orphanRemoval`: https://www.doctrine-project.org/projects/doctrine-orm/en/current/reference/working-with-associations.html#orphan-removal .. _`Mastering Doctrine Relations`: https://symfonycasts.com/screencast/doctrine-relations +.. _`Doctrine_Collections`: https://www.doctrine-project.org/projects/doctrine-collections/en/1.6/index.html