xtr_workflow.command ¶
Console commands — needs xtr-console installed beside this package.
The workflow bundle registers them when the console bundle is active.
WorkflowDumpCommand ¶
WorkflowDumpCommand(workflows: ServiceProviderInterface[WorkflowInterface], dispatcher: ListenerIntrospectionInterface | None = None)
Dumps a workflow as the source of a diagram, in the format asked for.
A container builds it with the workflows, by name, and with the
dispatcher their listeners are registered on when there is one: without
a dispatcher, the listeners cannot be listed. Run without a container,
the console reports the missing workflows parameter rather than build
it bare.
Dump the workflows of workflows, listing the listeners dispatcher runs.
Parameters:
-
workflows(ServiceProviderInterface[WorkflowInterface]) –The workflows to dump, by name.
-
dispatcher(ListenerIntrospectionInterface | None, default:None) –Where the workflows' listeners are registered; without it, listing them is refused.