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.
GuardEvent::getContext()
2 parents ba5b4ab + 1a44477 commit b2edf48Copy full SHA for b2edf48
workflow.rst
@@ -466,6 +466,12 @@ The context is accessible in all events except for the ``workflow.guard`` events
466
// in an event listener (workflow.guard events)
467
$context = $event->getContext(); // returns ['context']
468
469
+.. deprecated:: 6.4
470
+
471
+ Gathering events context is deprecated since Symfony 6.4 and the
472
+ :method:`Symfony\\Component\\Workflow\\Event::getContext` method will be
473
+ removed in Symfony 7.0.
474
475
.. note::
476
477
The leaving and entering events are triggered even for transitions that stay
0 commit comments