Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3caf1fd

Browse files
committed
Merge pull request doctrine#866 from bountin/doc_refresh
Mentioning the 'refresh' cascading property in the documentation list
2 parents 606ae2e + 2828d7b commit 3caf1fd

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/en/reference/working-with-associations.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ There are two approaches to handle this problem in your code:
403403
Transitive persistence / Cascade Operations
404404
-------------------------------------------
405405

406-
Persisting, removing, detaching and merging individual entities can
406+
Persisting, removing, detaching, refreshing and merging individual entities can
407407
become pretty cumbersome, especially when a highly interweaved object graph
408408
is involved. Therefore Doctrine 2 provides a
409409
mechanism for transitive persistence through cascading of these
@@ -419,7 +419,8 @@ The following cascade options exist:
419419
- remove : Cascades remove operations to the associated entities.
420420
- merge : Cascades merge operations to the associated entities.
421421
- detach : Cascades detach operations to the associated entities.
422-
- all : Cascades persist, remove, merge and detach operations to
422+
- refresh : Cascades refresh operations to the associated entities.
423+
- all : Cascades persist, remove, merge, refresh and detach operations to
423424
associated entities.
424425

425426
.. note::

0 commit comments

Comments
 (0)