Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0e1c690

Browse filesBrowse files
committed
Minor
1 parent 9599bff commit 0e1c690
Copy full SHA for 0e1c690

File tree

1 file changed

+7
-6
lines changed
Filter options

1 file changed

+7
-6
lines changed

‎workflow.rst

Copy file name to clipboardExpand all lines: workflow.rst
+7-6Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -446,17 +446,18 @@ workflow leaves a place::
446446
}
447447
}
448448

449-
.. versionadded:: 5.4
450-
451-
Getting the up-to-date context was introduced in Symfony 5.4.
452-
453-
If some listeners update the context during a transition, you can retrieve it via the marking::
449+
If some listeners update the context during a transition, you can retrieve
450+
it via the marking::
454451

455452
$marking = $workflow->apply($post, 'to_review');
456453

457-
// Contains the new value
454+
// contains the new value
458455
$marking->getContext();
459456

457+
.. versionadded:: 5.4
458+
459+
The ability to get the new value from the marking was introduced in Symfony 5.4.
460+
460461
.. _workflow-usage-guard-events:
461462

462463
Guard Events

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.