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

[DependencyInjection] Add docs forSubscribedService::$attributes#17211

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

Conversation

@kbond
Copy link
Member

Fixes#17208.

@kbond
Copy link
MemberAuthor

kbond commentedAug 19, 2022
edited
Loading

One potential problem with this feature is it will require the latest version ofsymfony/service-contracts (3.2+) butsymfony/dependency-injection currently allows older versions.

Basically, a user could havesymfony/dependency-injection 6.2 butsymfony/service-contracts 3.1. This feature will not work in this case.

@kbondkbondforce-pushed theservice-subscriber-attributes branch frombc1382f tob6aa127CompareAugust 19, 2022 15:40
@mdoutreluingne
Copy link
Contributor

I think it would be interesting here to mention that this feature requiressymfony/service-contracts (3.2+), because in your example there may be a case where this feature would not work depending on the version ofsymfony/service-contracts.

@javiereguiluz
Copy link
Member

Thanks Kevin! Maxime, I added that note to both examples while merging (see1aa135c).

kbond and mdoutreluingne reacted with heart emoji

@kbondkbond deleted the service-subscriber-attributes branchSeptember 21, 2022 14:36
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

6.2

Development

Successfully merging this pull request may close these issues.

[DependencyInjection] Allow service subscribers to return `SubscribedSe…

4 participants

@kbond@mdoutreluingne@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp