File tree 2 files changed +3
-3
lines changed
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:
46
46
#. ``SendMessageMiddleware `` (enables asynchronous processing)
47
47
#. ``HandleMessageMiddleware `` (calls the registered handle)
48
48
49
- Example:
49
+ Example::
50
50
51
51
use App\Message\MyMessage;
52
52
use Symfony\Component\Messenger\MessageBus;
@@ -67,7 +67,7 @@ Handlers
67
67
Once dispatched to the bus, messages will be handled by a "message handler". A
68
68
message handler is a PHP callable (i.e. a function or an instance of a class)
69
69
that will do the required processing for your message. It _might_ return a
70
- result:
70
+ result::
71
71
72
72
namespace App\MessageHandler;
73
73
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ Registering Handlers
43
43
--------------------
44
44
45
45
In 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::
47
47
48
48
// src/MessageHandler/MyMessageHandler.php
49
49
namespace App\MessageHandler;
You can’t perform that action at this time.
0 commit comments