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 2b1dbee commit 8b3c755Copy full SHA for 8b3c755
workflow/usage.rst
@@ -237,6 +237,12 @@ This means that each event has access to the following information:
237
:method:`Symfony\\Component\\Workflow\\Event\\Event::getTransition`
238
Returns the :class:`Symfony\\Component\\Workflow\\Transition` that dispatches the event.
239
240
+:method:`Symfony\\Component\\Workflow\\Event\\Event::getWorkflowName`
241
+ Returns a string with the name of the workflow that triggered the event.
242
+
243
+ .. versionadded:: 3.3
244
+ The ``getWorkflowName()`` method was introduced in Symfony 3.3.
245
246
For Guard Events, there is an extended class :class:`Symfony\\Component\\Workflow\\Event\\GuardEvent`.
247
This class has two more methods:
248
0 commit comments