mirror of
https://github.com/doctrine/orm.git
synced 2026-04-29 09:23:20 +02:00
[PR #6171] Include example of a cascaded "persist" operation #9876
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/6171
State: closed
Merged: Yes
Following up on https://github.com/doctrine/doctrine2/issues/2943 I started to clarify how it's supposed to be done.
Please check if this would be necessary (at line 511):
$myFirstComment->setUser($user);...and add it (in case).