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 1bddd35 commit f66a0b3Copy full SHA for f66a0b3
workflow.rst
@@ -446,6 +446,17 @@ 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::
454
455
+ $marking = $workflow->apply($post, 'to_review');
456
457
+ // Contains the new value
458
+ $marking->getContext();
459
460
.. _workflow-usage-guard-events:
461
462
Guard Events
0 commit comments