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

[Messenger] Autoconfigurable attributes#15990

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
wouterj merged 2 commits intosymfony:5.4fromalirezamirsepassi:messenger/attributes
Jan 19, 2022

Conversation

@alirezamirsepassi
Copy link
Contributor

@alirezamirsepassialirezamirsepassi commentedOct 22, 2021
edited
Loading

@carsonbotcarsonbot added this to the5.4 milestoneOct 22, 2021
Tobion added a commit to symfony/symfony that referenced this pull requestOct 25, 2021
…assi)This PR was squashed before being merged into the 5.4 branch.Discussion----------[Messenger] Autoconfigurable attributes| Q             | A| ------------- | ---| Branch?       | 5.4| Bug fix?      | no| New feature?  | yes| Deprecations? | no| Tickets       |Fix#41106| License       | MIT| Doc PR        |symfony/symfony-docs#15990Commits-------f27e594 [Messenger] Autoconfigurable attributes
symfony-splitter pushed a commit to symfony/messenger that referenced this pull requestOct 25, 2021
…assi)This PR was squashed before being merged into the 5.4 branch.Discussion----------[Messenger] Autoconfigurable attributes| Q             | A| ------------- | ---| Branch?       | 5.4| Bug fix?      | no| New feature?  | yes| Deprecations? | no| Tickets       | Fix #41106| License       | MIT| Doc PR        |symfony/symfony-docs#15990Commits-------f27e594bad [Messenger] Autoconfigurable attributes
symfony-splitter pushed a commit to symfony/framework-bundle that referenced this pull requestOct 25, 2021
…assi)This PR was squashed before being merged into the 5.4 branch.Discussion----------[Messenger] Autoconfigurable attributes| Q             | A| ------------- | ---| Branch?       | 5.4| Bug fix?      | no| New feature?  | yes| Deprecations? | no| Tickets       | Fix #41106| License       | MIT| Doc PR        |symfony/symfony-docs#15990Commits-------f27e594bad [Messenger] Autoconfigurable attributes
@alirezamirsepassi
Copy link
ContributorAuthor

Any update on this PR ?@nicolas-grekas

@94noni
Copy link
Contributor

Maybe just document that attributes requires php v8 (the feature is on v5.4 thus v8 is not mandatory like v6)

Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

this should target 6.0 to me

messenger.rst Outdated
message interface)::
create a class using:class:`Symfony\\Component\\Messenger\\Attribute\\AsMessageHandler`
attribute which has an ``__invoke()`` method that's type-hinted with the
message class (or a message interface) or you can create a class without the attribute, by implementing

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I'd remove the mention of the interface

@wouterjwouterj merged commit01be48d intosymfony:5.4Jan 19, 2022
@wouterj
Copy link
Member

Thank you@alirezamirsepassi for providing docs with your code contributions.

I've applied all suggestions made by@nicolas-grekas and added some directives indicating this is a new feature. I did however merge it in 5.4, as that's where this was introduced (which is similar to other PHP attribute we've documented for 5.3/5.4).

wouterj added a commit that referenced this pull requestJan 19, 2022
* 5.4:  [#15990] Minor changes  [Messenger] Autoconfigurable attributes
wouterj added a commit that referenced this pull requestJan 19, 2022
* 6.0:  Removed 5.4 versionadded  [#15990] Minor changes  [Messenger] Autoconfigurable attributes
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

+1 more reviewer

@94noni94noni94noni approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

5 participants

@alirezamirsepassi@94noni@wouterj@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp