Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit32a73b0

Browse files
committed
minor#14430 [Messenger] Routing & Inheritance (sylfabre)
This PR was submitted for the 5.x branch but it was squashed and merged into the 4.4 branch instead.Discussion----------[Messenger] Routing & InheritanceThis PR details how Messenger deals with messages and inheritance.We were discussing with my colleagues and had to do a quick POC to find out as it is not documented, and we had some doubt about it.Commits-------f5ee472 [Messenger] Routing & Inheritance
2 parents78b30bb +f5ee472 commit32a73b0

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)

[8]ページ先頭

©2009-2025 Movatter.jp