File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -446,17 +446,18 @@ workflow leaves a place::
446
446
}
447
447
}
448
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::
449
+ If some listeners update the context during a transition, you can retrieve
450
+ it via the marking::
454
451
455
452
$marking = $workflow->apply($post, 'to_review');
456
453
457
- // Contains the new value
454
+ // contains the new value
458
455
$marking->getContext();
459
456
457
+ .. versionadded :: 5.4
458
+
459
+ The ability to get the new value from the marking was introduced in Symfony 5.4.
460
+
460
461
.. _workflow-usage-guard-events :
461
462
462
463
Guard Events
You can’t perform that action at this time.
0 commit comments