From 03ed48e3073a069e764c5e15e4e3d58f96136ce5 Mon Sep 17 00:00:00 2001 From: Ruud Kamphuis Date: Sat, 24 Aug 2019 11:14:23 +0200 Subject: [PATCH] Explain how to add `from_transport` on `messenger.message_handler` tag --- messenger.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/messenger.rst b/messenger.rst index 73f18f916b0..d9ba6a3defe 100644 --- a/messenger.rst +++ b/messenger.rst @@ -1223,6 +1223,15 @@ Then, make sure to "route" your message to *both* transports: That's it! You can now consume each transport: +.. note:: + + It is possible to specify ``from_transport`` as attribute on the ``messenger.message_handler`` tag. + + .. versionadded:: 4.4 + + The ability to specify ``from_transport`` on the ``messenger.message_handler`` tag + itself, was added in Symfony 4.4. + .. code-block:: terminal # will only call ThumbnailUploadedImageHandler when handling the message pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy