You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: workflow/state-machines.rst
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -216,8 +216,11 @@ you can get this state machine by injecting the Workflow registry service::
216
216
// ...
217
217
}
218
218
219
-
Symfony also creates automatically for you a service for each workflow (:class:`Symfony\\Component\\Workflow\\Workflow`) or state machine (:class:`Symfony\\Component\\Workflow\\StateMachine`) you have defined in your configuration.
220
-
This means that you can use respectively ``workflow.pull_request`` or ``state_machine.pull_request`` in your service definition to have directly the proper service::
219
+
Symfony automatically creates a service for each workflow (:class:`Symfony\\Component\\Workflow\\Workflow`)
220
+
or state machine (:class:`Symfony\\Component\\Workflow\\StateMachine`) you
221
+
have defined in your configuration. This means that you can use ``workflow.pull_request``
222
+
or ``state_machine.pull_request`` respectively in your service definitions
0 commit comments