Skip to content

Commit 0e1c690

Browse files
committed
Minor
1 parent 9599bff commit 0e1c690

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

workflow.rst

Lines 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)