You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/en/message-handler-advanced.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,8 @@ Handler definitions are configured in:
14
14
15
15
### Handlers mapped by short message type
16
16
17
-
Use a short stable message type instead of a PHP class name. Define a dedicated message class where `getType()` returns that type:
17
+
Use a short stable message type instead of a PHP class name. That decoupling would allow you to refactor the code and handle the message with external handler.
18
+
Define a dedicated message class where `getType()` returns that type:
0 commit comments