Skip to content

Commit 9f26f64

Browse files
alsciendejaviereguiluz
authored andcommitted
[Messenger] Add a tip about using make:messenger-middleware
1 parent 1d199e1 commit 9f26f64

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

messenger.rst

+5
Original file line numberDiff line numberDiff line change
@@ -2920,6 +2920,11 @@ and a different instance will be created per bus.
29202920
$bus->middleware()->id('App\Middleware\AnotherMiddleware');
29212921
};
29222922
2923+
.. tip::
2924+
2925+
If you have installed the Maker bundle, you can use the ``make:messenger-middleware`` command
2926+
to bootstrap the creation your own messenger middleware.
2927+
29232928
.. _middleware-doctrine:
29242929

29252930
Middleware for Doctrine

0 commit comments

Comments
 (0)