public function __construct(private readonly StateMachineRegistry
$stateMachineRegistry) { parent::
__construct();
} protected function configure(): void
{ $this ->
setDefinition([ new InputArgument('name', InputArgument::REQUIRED, 'A state machine name'
),
new InputOption('label', 'l', InputOption::VALUE_REQUIRED, 'Labels a graph'
),
]) ->
setHelp( <<<'EOF'
The <info>%command.name%</info> command dumps the graphical representation of a
workflow in different formats
<info>DOT</info>: %command.full_name% <state machine name> | dot -Tpng > workflow.png
EOF
) ;