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 9599bff commit 0e1c690Copy full SHA for 0e1c690
workflow.rst
@@ -446,17 +446,18 @@ workflow leaves a place::
446
}
447
448
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::
+If some listeners update the context during a transition, you can retrieve
+it via the marking::
454
455
$marking = $workflow->apply($post, 'to_review');
456
457
- // Contains the new value
+ // contains the new value
458
$marking->getContext();
459
+.. versionadded:: 5.4
+
+ The ability to get the new value from the marking was introduced in Symfony 5.4.
460
461
.. _workflow-usage-guard-events:
462
463
Guard Events
0 commit comments