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

Commit0d3401e

Browse files
committed
minor#17331 [Messenger] DeprecateMessageSubscriberInterface (mdoutreluingne)
This PR was squashed before being merged into the 6.2 branch.Discussion----------[Messenger] Deprecate `MessageSubscriberInterface`Fixes#17319For `MessageHandlerInterface` class, it's not necessary to create a deprecation directive because we display it more since Symfony 5.3 in Symfony doc. I have created a PR#17332 for removing note block as it is no longer necessary in Symfony 6.0.Commits-------cb957d7 [Messenger] Deprecate `MessageSubscriberInterface`
2 parents220aeb0 +cb957d7 commit0d3401e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎messenger.rst‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1980,6 +1980,11 @@ A handler class can handle multiple messages or configure itself by implementing
19801980
}
19811981
}
19821982

1983+
..deprecated::6.2
1984+
1985+
:class:`Symfony\\Component\\Messenger\\Handler\\MessageSubscriberInterface` was deprecated in Symfony 6.2.
1986+
Use:class:`#[AsMessageHandler] <Symfony\\Component\\Messenger\\Attribute\\AsMessageHandler>` attribute instead.
1987+
19831988
Binding Handlers to Different Transports
19841989
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
19851990

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp