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

Appearance settings

Commit 0b99d83

Browse filesBrowse files
feature #54381 [Messenger] Allow extending attribute class AsMessageHandler (GromNaN)
This PR was merged into the 7.1 branch. Discussion ---------- [Messenger] Allow extending attribute class `AsMessageHandler` | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | yes | Deprecations? | no | Issues | - | License | MIT Revert #52971 which made `AsMessageHandler` final. Discussed in #54365 (comment) Commits ------- 9479563 Allow extending AsMessageHandler
2 parents e11d75c + 9479563 commit 0b99d83
Copy full SHA for 0b99d83

File tree

3 files changed

+0
-8
lines changed
Filter options

3 files changed

+0
-8
lines changed

‎UPGRADE-7.1.md

Copy file name to clipboardExpand all lines: UPGRADE-7.1.md
-5Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ FrameworkBundle
2222

2323
* Mark classes `ConfigBuilderCacheWarmer`, `Router`, `SerializerCacheWarmer`, `TranslationsCacheWarmer`, `Translator` and `ValidatorCacheWarmer` as `final`
2424

25-
Messenger
26-
---------
27-
28-
* Make `#[AsMessageHandler]` final
29-
3025
SecurityBundle
3126
--------------
3227

‎src/Symfony/Component/Messenger/Attribute/AsMessageHandler.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Messenger/Attribute/AsMessageHandler.php
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
/**
1515
* Service tag to autoconfigure message handlers.
1616
*
17-
* @final since Symfony 7.1
18-
*
1917
* @author Alireza Mirsepassi <alirezamirsepassi@gmail.com>
2018
*/
2119
#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD | \Attribute::IS_REPEATABLE)]

‎src/Symfony/Component/Messenger/CHANGELOG.md

Copy file name to clipboardExpand all lines: src/Symfony/Component/Messenger/CHANGELOG.md
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ CHANGELOG
66

77
* Add option `redis_sentinel` as an alias for `sentinel_master`
88
* Add `--all` option to the `messenger:consume` command
9-
* Make `#[AsMessageHandler]` final
109
* Add parameter `$jitter` to `MultiplierRetryStrategy` in order to randomize delay and prevent the thundering herd effect
1110

1211
7.0

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.