File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1940,7 +1940,8 @@ Possible options to configure with tags are:
19401940Handling Multiple Messages
19411941~~~~~~~~~~~~~~~~~~~~~~~~~~
19421942
1943- A handler class can handle multiple messages. For that add the ``#AsMessageHandler `` attribute to the handling methods::
1943+ A single handler class can handle multiple messages. For that add the
1944+ ``#AsMessageHandler `` attribute to all the handling methods::
19441945
19451946 // src/MessageHandler/SmsNotificationHandler.php
19461947 namespace App\MessageHandler;
@@ -1965,8 +1966,9 @@ A handler class can handle multiple messages. For that add the ``#AsMessageHandl
19651966
19661967.. deprecated :: 6.2
19671968
1968- Implementing the :class: `Symfony\\ Component\\ Messenger\\ Handler\\ MessageSubscriberInterface ` is another way to
1969- handle multiple messages with one handler class. This interface was deprecated in Symfony 6.2.
1969+ Implementing the :class: `Symfony\\ Component\\ Messenger\\ Handler\\ MessageSubscriberInterface `
1970+ is another way to handle multiple messages with one handler class. This
1971+ interface was deprecated in Symfony 6.2.
19701972
19711973Binding Handlers to Different Transports
19721974~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments