Skip to content

Commit 33c5b6b

Browse files
authored
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
1 parent e4cb911 commit 33c5b6b

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)