8000
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 7f2b61d commit 07dea78Copy full SHA for 07dea78
workflow.rst
@@ -238,7 +238,8 @@ Accessing the Workflow in a Class
238
239
You can use the workflow inside a class by using
240
:doc:`service autowiring </service_container/autowiring>` and using
241
-``camelCased workflow name + Workflow`` as parameter name::
+``camelCased workflow name + Workflow`` as parameter name. If it is a state machine type
242
+you can use ``camelCased workflow name + StateMachine``::
243
244
use App\Entity\BlogPost;
245
use Symfony\Component\Workflow\WorkflowInterface;
0 commit comments