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.
2 parents 27264dd + 0e1c690 commit aece95dCopy full SHA for aece95d
workflow.rst
@@ -440,6 +440,18 @@ workflow leaves a place::
440
}
441
442
443
+If some listeners update the context during a transition, you can retrieve
444
+it via the marking::
445
+
446
+ $marking = $workflow->apply($post, 'to_review');
447
448
+ // contains the new value
449
+ $marking->getContext();
450
451
+.. versionadded:: 5.4
452
453
+ The ability to get the new value from the marking was introduced in Symfony 5.4.
454
455
.. _workflow-usage-guard-events:
456
457
Guard Events
0 commit comments