Skip to content

Commit 6175eb7

Browse files
committed
minor #16105 [Workflow] Update workflow docs for $context in GuardEvent (maikelohcfg)
This PR was merged into the 5.3 branch. Discussion ---------- [Workflow] Update workflow docs for $context in GuardEvent Make the doc reflect the current behavior for $context on GuardEvent to avoid confusing use of the events $context Commits ------- 33c5b6b Update workflow docs for $context in GuardEvent
2 parents 80486e7 + 33c5b6b commit 6175eb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ order:
388388

389389
.. versionadded:: 5.2
390390

391-
In Symfony 5.2, the context is accessible in all events::
391+
In Symfony 5.2, the context is customizable for all events except for workflow.guard events, which will not receive the custom $context::
392392

393393
// $context must be an array
394394
$context = ['context_key' => 'context_value'];

0 commit comments

Comments
 (0)