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] Clarify the#[Target] attribute 2#19814

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

HypeMC
Copy link
Member

Follow-up to#19789, adds aparagraph about thedebug:autowiring command.

@HypeMCHypeMCforce-pushed theclarify-the-target-attribute-2 branch from8a61a6f toc1ab4a8CompareApril 22, 2024 09:52
(like shown in the example above).
bypassing the name of the argument used in the namedalias. Thanks to this, you're able
to have multiple services implementingthe same interface and keep the argument name
decorrelated of any implementation name(like shown in the example above).

Choose a reason for hiding this comment

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

In addition, you'll get an exception in case you make any typo in the target name.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Done

@javiereguiluzjaviereguiluzforce-pushed theclarify-the-target-attribute-2 branch from2cad785 to81cc7f0CompareJune 24, 2024 10:39
@javiereguiluz
Copy link
Member

Thank you@HypeMC.

@javiereguiluzjaviereguiluz merged commit35d808d intosymfony:6.4Jun 24, 2024
3 checks passed
@HypeMCHypeMC deleted the clarify-the-target-attribute-2 branchJune 24, 2024 10:50
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

Assignees
No one assigned
Projects
None yet
Milestone
6.4
Development

Successfully merging this pull request may close these issues.

4 participants
@HypeMC@javiereguiluz@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp