8000 [Messenger] Routing & Inheritance · symfony/symfony-docs@f5ee472 · GitHub
[go: up one dir, main page]

Skip to content

Commit f5ee472

Browse files
sylfabrewouterj
authored andcommitted
[Messenger] Routing & Inheritance
1 parent 78b30bb commit f5ee472

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

messenger.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,13 @@ to multiple transports:
314314
],
315315
]);
316316
317+
.. note::
318+
319+
If you configure routing for both a child and parent class, but rules
320+
are used. E.g. if you have an ``SmsNotification`` object that extends
321+
from ``Notification``, both the routing for ``Notification`` and
322+
``SmsNotification`` will be used.
323+
317324
Doctrine Entities in Messages
318325
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
319326

0 commit comments

Comments
 (0)
0