We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.
1 parent e1f3b5a commit 64bfd75Copy full SHA for 64bfd75
messenger.rst
@@ -253,13 +253,11 @@ within the buses to add some extra capabilities like this:
253
buses:
254
messenger.bus.default:
255
middleware:
256
- # Works with the FQCN if the class discovery is enabled
257
- - App\\Middleware\\MyMiddleware
+ - "App\\Middleware\\MyMiddleware"
+ - "App\\Middleware\\AnotherMiddleware"
258
259
- # Or with some service name
260
- - app.middleware.yours
261
-
262
-Note that if the service is abstract, then a child service will be created per bus.
+Note that if the service is abstract, then a different instance of service will be
+created per bus.
263
264
Disabling default middleware
265
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments