We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed59285 commit 3d1774aCopy full SHA for 3d1774a
form/form_collections.rst
@@ -412,9 +412,11 @@ you will learn about next!).
412
call ``$entityManager->persist($tag)`` on each, you'll receive an error from
413
Doctrine:
414
415
- > A new entity was found through the relationship
416
- > ``App\Entity\Task#tags`` that was not configured to
417
- > cascade persist operations for entity...
+ .. code-block:: text
+
+ A new entity was found through the relationship
418
+ ``App\Entity\Task#tags`` that was not configured to
419
+ cascade persist operations for entity...
420
421
To fix this, you may choose to "cascade" the persist operation automatically
422
from the ``Task`` object to any related tags. To do this, add the ``cascade``
0 commit comments