Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9f7734b

Browse filesBrowse files
committed
minor #20337 [Messenger] Add a tip about using make:messenger-middleware (alsciende)
This PR was submitted for the 7.1 branch but it was squashed and merged into the 7.2 branch instead. Discussion ---------- [Messenger] Add a tip about using `make:messenger-middleware` Add a tip about using make:messenger-middleware to create custom Middlewares, because it's easy to skip the importance of the "$stack->next()->handle($envelope, $stack)" line. Might save someone's time. Commits ------- 9f26f64 [Messenger] Add a tip about using `make:messenger-middleware`
2 parents 1d199e1 + 9f26f64 commit 9f7734b
Copy full SHA for 9f7734b

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎messenger.rst

Copy file name to clipboardExpand all lines: messenger.rst
+5Lines changed: 5 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.