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 c9494ec commit a3e22b2Copy full SHA for a3e22b2
src/Controller/BlogController.php
@@ -123,8 +123,9 @@ public function commentNew(
123
// passed in the event and they can even modify the execution flow, so
124
// there's no guarantee that the rest of this controller will be executed.
125
// See https://symfony.com/doc/current/components/event_dispatcher.html
126
- // You can also leverage the Symfony Messenger component if you need
127
- // some asynchronous operations.
+ //
+ // If you prefer to process comments asynchronously (e.g. to perform some
128
+ // heavy tasks on them) you can use the Symfony Messenger component.
129
// See https://symfony.com/doc/current/messenger.html
130
$eventDispatcher->dispatch(new CommentCreatedEvent($comment));
131
0 commit comments