We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 348ff3f + d8ad6ae commit 1dedaa4Copy full SHA for 1dedaa4
docs/bundle/async_commands.md
@@ -43,7 +43,8 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
43
/** @var ProducerInterface $producer */
44
$producer = $container->get(ProducerInterface::class);
45
46
-$producer->sendCommand(Commands::RUN_COMMAND, new RunCommand('debug:container'));
+$cmd = new RunCommand('debug:container', ['--tag=form.type']);
47
+$producer->sendCommand(Commands::RUN_COMMAND, $cmd);
48
```
49
50
optionally you can get a command execution result:
0 commit comments