File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ following middlewares are configured for you:
4646#. ``SendMessageMiddleware `` (enables asynchronous processing)
4747#. ``HandleMessageMiddleware `` (calls the registered handle)
4848
49- Example:
49+ Example::
5050
5151 use App\Message\MyMessage;
5252 use Symfony\Component\Messenger\MessageBus;
@@ -67,7 +67,7 @@ Handlers
6767Once dispatched to the bus, messages will be handled by a "message handler". A
6868message handler is a PHP callable (i.e. a function or an instance of a class)
6969that will do the required processing for your message. It _might_ return a
70- result:
70+ result::
7171
7272 namespace App\MessageHandler;
7373
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ Registering Handlers
4343--------------------
4444
4545In order to do something when your message is dispatched, you need to create a
46- message handler. It's a class with an `__invoke ` method:
46+ message handler. It's a class with an `__invoke ` method::
4747
4848 // src/MessageHandler/MyMessageHandler.php
4949 namespace App\MessageHandler;
You can’t perform that action at this time.
0 commit comments