Skip to content

Commit 42c7082

Browse files
vjiksamdark
andauthored
Update docs/guide/en/message-handler-advanced.md
Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
1 parent 8988c51 commit 42c7082

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/guide/en/message-handler-advanced.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ Handler definitions are configured in:
1414

1515
### Handlers mapped by short message type
1616

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:
1819

1920
```php
2021
use Yiisoft\Queue\Message\Message;

0 commit comments

Comments
 (0)